Why doesn't time.sleep work in Python, in sololearn app | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 4

Why doesn't time.sleep work in Python, in sololearn app

I've tried like import time print ("hello") time.sleep(2) print ("bye") Expected output should be hello and delay in 2second and then bye But the output either doesn't have time delay or I get a time limit exceeded error Why??? https://code.sololearn.com/cjp9fwmzIEmY/?ref=app https://code.sololearn.com/cjp9fwmzIEmY/?ref=app https://code.sololearn.com/cjp9fwmzIEmY/?ref=app

4th Jun 2019, 12:04 PM
RALPH RYDER
RALPH RYDER - avatar
2 Respuestas
+ 5
This works, but in SoloLearn you can only see the final result of your code
4th Jun 2019, 12:07 PM
InvBoy [ :: FEDE :: ]
InvBoy [ :: FEDE :: ] - avatar
+ 2
Ya I saw it worked on PC but not in solo learn , thx
4th Jun 2019, 12:14 PM
RALPH RYDER
RALPH RYDER - avatar