# 1. An empty list

list1 = []
##print(list1)

# 2.list with values

list2 = [1,2,3]
##print(list2)
##print(list2)
##(list2[1])

list2.append(5)
##print(list2)

# "in" operator
##print(1 in list2)
##print(12 in list2)

# number of elements
##print(len(list2))

# Removing an element 
##del list2[1]
##print(list2)

# adding complete elements
# list2 = [2,34,4]
# print(list2)

#list slicing
names = ["sa","ma","na","sa","ma","na"]
print(names[1:])
print(names[:-1])
print(names[2:4])
