for loop for two dimensional array in python code example
Example: loop over twodimensional array python
array = [
[2, 4, 5, 6],
[6, 5, 99],
[849, 33, 7, 7]
]
for i in array:
for j in i:
print(j, end=", ")
# 2, 4, 5, 6, 6, 5, 99, 849, 33, 7, 7,