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