+ 2
Can't i take inputs in loop in sololearn?
I m making a guessing game in python and i want to give five chances to guess the number . In program if person guess first number and run the code it's not asking for second input . Can i do something ?help please.
6 Respostas
+ 3
Your best bet would be to supply as many inputs as necessary to simulate interactive input, and even that has a limit because the input dialog only allows 100 characters to be written.
Unfortunately, this far, I haven't seen any workaround to actually imitate interactive input in Code Playground. But I could've missed it and be wrong : )
+ 2
Interactive inputs ? Not possible in SoloLearn .
I know , it sucks.
+ 1
Yes first your name
And then 5 guesses i put example in end of code .
But its no more interesting without interactive input
0
You can take 5 inputs by line separating the single input statement you've got.
0
Well seems that you need to give 6 (line separated) inputs