counter1 = int ( input ("enter a number:") ) counter = 1 while counter < counter1 : print( counter ) counter = counter + 1 print (counter)