Countdown function

 

def countdown(n):
    while n > 0:
        print(n)
        n -= 1
countdown(6)






Comments

Popular posts from this blog

Using insertAdjacentHTML instead of innerHTML to avoid XSS attacks

Quotation marks to wrap an element in HTML

Various Types of Computer Architectures