Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6
Sonic that is not 💯% true as the Brython calculator allows individual inputs as does the Skulpt calculator https://code.sololearn.com/Wc0YQZ8s8rcb/?ref=app https://code.sololearn.com/W7ITsQjn96yK/?ref=app and both use the same python internal code
9th Aug 2019, 2:00 AM
BroFar
BroFar - avatar
8th Aug 2019, 11:34 PM
BroFar
BroFar - avatar
+ 3
Dor you can not have two inputs with the same name... number has to be broken down into num1 num2
8th Aug 2019, 11:56 PM
BroFar
BroFar - avatar
+ 3
BroFarOps thanks for the correction. What I previously said doesn't really apply to web codes, but I think it applies to almost all non web codes on Code playground.
9th Aug 2019, 9:07 AM
Sonic
Sonic - avatar
+ 2
Go into a new line for the second input. This is because the code is not run locally, it is run on their server and the response is sent back to you. This is why input is collected at the beginning and not at runtime.
8th Aug 2019, 11:27 PM
Paul Grasser
Paul Grasser - avatar
+ 2
Interactive inputs are not possible here. All inputs have to be done at once for non web programs. The user needs to run the code at least once or look at the source code to see how many inputs are required.
9th Aug 2019, 12:52 AM
Sonic
Sonic - avatar