+ 1
Moving code from one IDE (Pythonista 3) to another (Sololearn), and nothing outputs for two different codes.
I made both codes on Pythonista, and the both worked after testing. But when I tried moving them to Sololearn (in separate playgrounds) they both outputted “No Output”. They are both based off infinite loops, but only one is a function. I tried making them finite loops, but nothing changed. Here are the codes below. Fibonacci: https://code.sololearn.com/ciQGFPctX3y1/?ref=app Prime Numbers: https://code.sololearn.com/c2uzgc7bvRKj/?ref=app I really want to post these. Please help!
4 odpowiedzi
+ 2
On sololearn we cannot use time.sleep() or something alike. We cannot "pause" or delay code execution on sololearn Python playground.
Remove time.sleep() and try to run the code bit then.
0
Ah thank you, I will try that.
0
It worked! Thank you so much. To be honest I did not expect that result. Thank you so much though!
0
I wish it could be included though cause it makes the code look much cooler :(