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