how to loop through array in python code example Example: for loop in python array for x in range (1, 100, 1): print(x)