Answers for "python iterate multidimensional array"

1

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,
Posted by: Guest on March-18-2021

Code answers related to "python iterate multidimensional array"

Python Answers by Framework

Browse Popular Code Answers by Language