count= int(input("Enter a number: ")) for count in range(1,count+1): print(count, " ", end='')