# list inside list
matrix = [[1, 2, 3], [4, 5, 6], [7, 8, 9]] # 2D list
# 3 items ---> 3 list

# print (matrix[1])

# for i in matrix:
#     print(i)

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

print(matrix[1][1]) # 5
print(matrix[2][0]) # 7

# whice type of list

s = "string"
print(type(s))
print(type(matrix))
