# A small example using range function for i in range(1, 11):   print(i, end="")

Read more of this post