import time countdown = int(input("Enter number")) while countdown > 0: print(countdown) countdown -= 1 # This is how long of a pause between numbers time.sleep(1) #This is were you end it print("Countdown complete")
Enter number5 5 4 3 2 1 Countdown complete