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