+ 1
Unable to run this python code on Sololearn
I have created a python code on rock paper scissors game. This game works fine on laptop and even on Python 3 IDE app (available on Play Store). However, I am not able to run the same code on Sololearn. I don't know why is this happening. Please help me. https://code.sololearn.com/cmjM2SVS7R8h/?ref=app
6 Respuestas
+ 5
Viren Varma
No you can't run code here for infinite time.
SoloLearn playground has limitations.
For any code that has infinite run time, it will run for 5 seconds max and then give timeout.
+ 3
Code runs completely fine, you seem to be confused about input system.
Here, you have to provide all inputs before running the code and if you have multiple inputs put them on separate lines.
I just tried your code and it worked fine.
sample inputs:
rock
paper
exit
+ 3
So does that mean I can't run a program infinite times using a flag in Sololearn?
0
Ohh no!
Any suggestions how can I make this code better so that I can post it on code playground?