z = [ [12,23,[18,True,"8080",["Jane","Mary"], "Hello"] ],"Ken",False,[7,10.2] ]
print(z[0])
#list slicing > obtain a range of element in a list
cars = ["subaru", "toyota", "mazda", "premio", "pajero"]
#print(cars)
cars[-1] = "love"
#cls
# print(cars)
# use inbuilt method
#cars.append(300) # adding an element
#cls
# print(cars)
# deleting a list
del cars[-2]
print(cars)
# membership opeartor
print(7 not in cars) #checks if an element is in ur list