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