I am trying to create a countdown, how when it goes to 0 it will stop the loop and show a message
import time
countdown = 100
while True:
display = " [ Countdown {:03d} ] ".format(countdown)
print(display, end="r")
time.sleep(2)
countdown -= 1