# Generate numbers between 0 to 6 for i in range(6): print(i) # Generate numbers between 1 to 10 for i in range(1,11): print(i) # Generate numbers between 1 to 10 and print them in a single line print( *range(1,11) )