#define by using [] or by using list()
#insertion order is preserverd
#updation is possible
#duplicates are allowed
lst=["java","python","c#","javascript","java","python","python"]


#adding new element

lst.insert(3,"perl")#inserting an object into a specific position
print(lst)
# lst.append("dart")
# # print(lst)
# lst[0]="Ruby"
# print(lst)
# #       0       1       2       3
# # print(lst[0])
# # print(lst[-1:-5:-1])#slicing
# # print(lst[0:2])#java,python
# # print(lst[1:3])#python,c#,
# # print(lst[:3])#
#
# # [low:upper:step]
# # print(lst[0:4:2])
# #iteration
# # for item in lst:
# #     print(item)
#


marks=list()
#insert some values
#perform slicing
#update a object
