python loop over length of list code example Example: for loop in python array for x in range (1, 100, 1): print(x)