'''
List tutorial

syntax:- [1,2]
list can be updated 

'''
list1 = ['physics', 'chemistry', 1997, 2000];

print(list1) # print all the elements in list

print(list1[2:4]) # print elements from index 2 to 4rth element of the list

list1[1]=7000
print("updated list=",list1) # replace the 3st index element  with 7000