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