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