#plz suscribe to my youtube channel -->
#https://www.youtube.com/channel/UC-sfqidn2fKZslHWnm5qe-A
import time
print("This is how to pause a program")
time.sleep(5)
print("Did you saw that i slept for 5 seconds")
# To delay excusion use the time library
import time
time.sleep(secs)
import os
os.system("pause")
from time import sleep as pause
print("Hello")
pause(5)
print("World")
import time
time.sleep(5) # Wacht 5 seconden
import time
time.sleep(amount of seconds you want to pause the script for)
Example :
import time
secondstogo = input("How much seconds do you want to wait? : ")
print(f"waiting {secondstogo} seconds")
time.sleep(secondstogo)