number = int(input( "Enter a number: " )) count = 1 while count < number : print(count) count = count + 1 for number in range( 1, number): print ( number )