how to loop through a multidimensional array 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,