for num in range(1, 101): print(num, end=' ') if num % 10 == 0: print(" ")