Anyone know why i can't put 2 input in? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Anyone know why i can't put 2 input in?

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

13th Jun 2021, 1:45 AM
aazizul zainal
aazizul zainal - avatar
8 Answers
+ 5
https://code.sololearn.com/WhiNb9BkJUVC
13th Jun 2021, 3:22 AM
David Ashton
David Ashton - avatar
+ 3
in sololearn playground you must put all your input at once, each separated by a new line: toto 25 that's because scripts are executed on server side, input collected before sending code and input, run script, output returned as string and finally displayed ^^
13th Jun 2021, 1:57 AM
visph
visph - avatar
+ 3
your script run fine... you only need to put all the inputs requested by it at once, just after clicking the run button in the dialog box wich pop-up ^^ sololearn doesn't support real-time interactivity :(
13th Jun 2021, 2:18 AM
visph
visph - avatar
+ 2
Thanks you so much!!!! Now i underatand :) what you mean ... hope you have a great day!
13th Jun 2021, 2:22 AM
aazizul zainal
aazizul zainal - avatar
0
So... what correction should i make... i am not understanding python that much since i just started...sorry is this borther you ...
13th Jun 2021, 2:15 AM
aazizul zainal
aazizul zainal - avatar
0
This code run fine bro.
13th Jun 2021, 3:08 AM
Cmurio
Cmurio - avatar
0
David... that is very good code:O
13th Jun 2021, 3:42 AM
aazizul zainal
aazizul zainal - avatar
0
14th Jun 2021, 4:29 PM
MikkyTech
MikkyTech - avatar