- 6
Why time.sleep ...not work ?????
3 Answers
+ 4
Because you haven't provided much information here.
+ 4
If you have the import working and you're trying it on SoloLearn:
Your script will indeed sleep at the server but the connection is not interactive (instead it is "batch").
All sleep will do is use up some of the runtime window (it's < about 5 seconds) or cause "Time Limit Exceeded".
You will not see Python sleep from the app, unless you run Python on your mobile directly.
+ 3
try to import the module
import time
there is a lake of info.
past the code that you are trying.
if you are trying it in sololearn ide,maybe it will not work with it.