Why it is not giving out put? | Sololearn: Learn to code for FREE!


Why it is not giving out put?

https://code.sololearn.com/cJKkP4PVwll6/?ref=app https://code.sololearn.com/cJKkP4PVwll6/?ref=app

8/4/2020 6:46:44 AM


1 Answer

New Answer


That's because of the time.sleep() function you have there. Code written in code playground runs on sololearn's servers instead of your device and thus have a limmited time for execution (generally 3-4 sec) you are wasting that time using sleep function, just remove it to see the difference.