# 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)