import time number = int(input('Enter a number: ')) count = 1 while count <= number: print( count ) time.sleep (0.001) count = count + 1