PYTHON PROGRAM TO COUNT FROM 1 mILLION TO 0
#the bug is that it does not stop counting!
import time
n = 0
while ( n <= 1000000):
    n = n + 1
    print(n)
    time.sleep(0) #you can change the sleep to the number of seconds you want
    
else:
    n == 1
print("finished!")
