input = int(input("Enter a number: ") ) inputone = input +1 for number in range( 1, inputone ) : print( number ) count = input-1 while count > 0 : print( count ) count = count - 1