number=int(input("Choose a number: ")) for number in range(1,number+1): print( number," ", end='' ) print ("{:3}".format(number)) if number%10==0: print(" ")