print the numbers from 1 to 10 in a single line code example Example: printing a range of no one line in python for x in range(1,11): print(x, end=" ")