number = int(input("Please enter a number:")) for i in range(1, number + 1): print(i)