Answers for "python for in 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 for in multidimensional array"

Python Answers by Framework

Browse Popular Code Answers by Language