Having problem with input command | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Having problem with input command

I writed a code in python and keep getting the your programm require multiple inputs, please check my code and you will find out. working fine in other compilers. https://code.sololearn.com/cE4Fz7t3Q3xA/?ref=app

12th Nov 2018, 6:16 PM
Shaho Farivar
Shaho Farivar - avatar
5 Answers
+ 5
All inputs should be input at once in Sololearn because all the codes are run on their server, we only send our codes and inputs anf then get the results(outputs) back
12th Nov 2018, 6:22 PM
Flandre Scarlet
Flandre Scarlet - avatar
+ 5
No, not able to Or an alternative method: Run first, see what to input Then run for second time, input, and see what to input next ...and so on
12th Nov 2018, 6:29 PM
Flandre Scarlet
Flandre Scarlet - avatar
+ 3
It works fine on Sololearn. The only thing is you have to give all your input at one go in separate lines, like: d e a The risk of going dead in your game is huge.
12th Nov 2018, 6:26 PM
Paul
Paul - avatar
+ 1
but my player need to see the story first and then choose what input should be entered, so not working properly in SoloLearn?
12th Nov 2018, 6:25 PM
Shaho Farivar
Shaho Farivar - avatar
+ 1
Cumbersome! I'm just testing the code in another compiler instead.
12th Nov 2018, 7:21 PM
Shaho Farivar
Shaho Farivar - avatar