Python tunggu 1 detik
import time
# Wait for 5 seconds
time.sleep(5)
# Wait for 300 milliseconds
# .3 can also be used
time.sleep(.300)
Blushing Bat
import time
# Wait for 5 seconds
time.sleep(5)
# Wait for 300 milliseconds
# .3 can also be used
time.sleep(.300)
import time
#Waits 1 second
time.sleep(1)
#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")
import os
os.system("pause")
# To delay excusion use the time library
import time
time.sleep(secs)
from time import sleep as pause
print("Hello")
pause(5)
print("World")