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