+ 8

Why does Sololearn not have dynamic input?

When I use input() in my code, IDLE asks me for input whenever I need it. In Code Playground, however, it just asks one giant input at the start. Why is this so?

3rd Oct 2018, 2:16 AM
[Abandoned]
[Abandoned] - avatar
8 ответов
+ 5
One possible answer: Role adherence. Servers are not interactive workstations.
3rd Oct 2018, 2:42 AM
Kirk Schafer
Kirk Schafer - avatar
+ 5
because all the codes are compiled on the server of SL and actually, the input messagebox only pops out when some keywords are detected in the code for example, python is "input" so even if you redefine the input function so that no input is needed, the messagebox still pop out and if you write sys.stdin.readline() instead of input(), the messagebox won't pop out
3rd Oct 2018, 2:47 PM
Flandre Scarlet
Flandre Scarlet - avatar
+ 5
Sorry i dont get it.
3rd Oct 2018, 10:22 PM
Joshua Martin Fontanilla
Joshua Martin Fontanilla - avatar
+ 2
Needs detailed explanations.
3rd Oct 2018, 2:45 AM
Shailendra Kumar
Shailendra Kumar - avatar
+ 2
The only big negative thing about sololearn playground
3rd Oct 2018, 3:48 PM
I Am Arthur
I Am Arthur - avatar
+ 1
there are many suggestions to implement dynamic inputs. Just wish SL can do it
3rd Oct 2018, 4:05 PM
Seniru
Seniru - avatar
0
its true its a big fault in the codeing playground
3rd Oct 2018, 4:00 PM
Nalo-Kun
Nalo-Kun - avatar
0
yeah
3rd Oct 2018, 4:05 PM
Nalo-Kun
Nalo-Kun - avatar