NESTED LOOP

number_grid = [
[1, 2, 3],
[4, 5, 7],
[7, 8, 9],
[0]
]
for row in number_grid:
for col in row:
print(col)

Comments