#data structures
# organization of data in memory

# lists
name="Dan"

names = ["Dan", 1, "tim", True, False, 10.2]
print(names[2])
# Checking the length of a list
print(len(names))

print(names[5])
print(names[3])
print(names[4])

print(names)

# Accessing an element in a list of lists
matrix=[[1,2,3],[4,5,6,["a","b","c","d",[11,12,13]]],[7,8,9]]
# Accessing element 6
print(matrix[1][2])
# Accessing elements in a nested list
print(matrix[1][3][3])

print(matrix[1][3][4][1])

print(matrix[-1])






mat=[[1,2,3],[4,5,6,["a,b,c,d"]],[7,8,9]]

d=mat[1][3][0]
print(d)
print(d[-1])





# tuples



# dictionary