+ 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?
8 Answers
+ 5
One possible answer: Role adherence. Servers are not interactive workstations.
+ 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
+ 5
Sorry i dont get it.
+ 2
Needs detailed explanations.
+ 2
The only big negative thing about sololearn playground
+ 1
there are many suggestions to implement dynamic inputs. Just wish SL can do it
0
its true its a big fault in the codeing playground
0
yeah