grid = [
    [3, 4, 5],
    [56, 7, 7],
]

print(grid[0][0])


# Nested loop

for row in grid:
    for col in row:
        print(col)
07df1459ba5096c974310f3dcd2a32b1ef5d0faa
<mask token>

<mask token>
print(grid[0][0])
for row in grid:
    for col in row:
        print(col)

grid = [[3, 4, 5], [56, 7, 7]]
print(grid[0][0])
for row in grid:
    for col in row:
        print(col)

grid = [
    [3, 4, 5],
    [56, 7, 7],
]

print(grid[0][0])


# Nested loop

for row in grid:
    for col in row:
        print(col)