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