x=[4,True,'hi'] # list can store multiple list

print(x)

print(x[2])
# accessing
print(len(x))

y = 'hi'

print(len(y))

x.append('world') # append end of this list


print(x)

x.extend([4,5,5,5])

print(x)

print(x.pop())

print(x)


# Tuples are immutable
y = (4,5,5)

# y[0]=5  error 'tuple' object does not support item assignment

print(y)


nestedList = [[1,2,3],(4,5,6),[[7,8,9]]]

print(nestedList)





