store for loop values in an array python code example Example: for loop in python array for x in range (1, 100, 1): print(x)