print( "-----------------------------" ) print( "Counting up and down between numbers:" ) number = int(input('Enter a number between 1 and 10')) count = number while count > 0 : print( (1+number) - count ) count = count -1 count = number while count > 1 : print( count - 1 ) count = count - 1