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