+ 2
Sleep Module Import on Code Playground
I'm trying to add the sleep module so that my code counts down from the user input, but it won't delay. Is this a problem importing modules into the CP or have I coded it incorrectly? https://code.sololearn.com/cRJ5RBeFs2rH
1 Answer
+ 4
SoloLearn takes your code and user input, computes the result, and then sends a final answer to you. This is why you can't have infinite loops for making something like Conways game of life in the terminal or pausing between outputs.
For that I recommend an app called Dcoder