array iteration python code example
Example 1: for loop in python array
for x in range (1, 100, 1):
print(x)
Example 2: iterate over rows in numpy matrix python
import numpy
m = numpy.ones((3,5),dtype='int')
for row in m:
# do stuff with row