In [18]:
#This will be the top of my countdown
Topofcount = 21
print (Topofcount)

#I import time so that the sleep command will work In my while loop
import time
    
#I use while so that when ever my variable equals any number over one it shows the number, subtracts by one, waits one second, then prints the new number.
while Topofcount > 1:
    Topofcount -= 1
    time.sleep(1)
    print (Topofcount)
    
#this can be any message you want to be its just what displays at the end of the countdown
print ("Happy New Year")
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
Happy New Year