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