0
How do you let the script wait for 5 sec?
2 ответов
+ 6
from time import sleep
sleep(5)
Won't work in Sololearn though because a code that takes more than five seconds to execute will just timeout
0
import time
time.sleep(5) # Delays for 5 seconds. You can also use a float value. Anna had it sussed out though :)