how to print 1- 10 in python withoun range code example Example: printing a range of no one line in python for x in range(1,11): print(x, end=" ")