matrix = [[1,2,3],[4,5,6],[7,8,9]]  #2d list 
#3 items ---> 3 lists
# print(matrix[2])

#for loop inside for loop
# for sublist in matrix:
#     for i in sublist:
#         print(i)

#to acces value of list
# print(matrix[2][0])

# type function -checks the type of data
s="string"
print(type(s)) #<class 'str'>
    