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
+ 3
Here is two ways but there are other methods
https://code.sololearn.com/c92Z7BfmACJ5/?ref=app
https://code.sololearn.com/Wc0YQZ8s8rcb/?ref=app
+ 3
Dor you can not have two inputs with the same name... number has to be broken down into num1 num2
+ 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.
+ 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.
+ 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.