for loop to an array python code example Example: looping over an array python for i in range(50): i =+ 1 print(i)