+ 2

correct code wont run in Code-Playground

Hello Community, i just started learning python and i wrote a simple text calculator for practice with PyCharm. The code seems to be fine. But somehow it wont run at all in the Sololearn Code Playground How comes? Here is the gist: https://gist.github.com/itdeega/74eac368293792e05b17fdb1407b795c

26th May 2018, 1:34 PM
314159DD
314159DD - avatar
4 Answers
+ 2
First off, nice program! To answer your question, the problem is that the Code Playground in Sololearn cannot accept more than one input. You can test it yourself by running this: input() input() Hope this helped :)
26th May 2018, 1:49 PM
Just A Rather Ridiculously Long Username
+ 3
compiler is basic
26th May 2018, 1:48 PM
Charan Leo25
Charan Leo25 - avatar
+ 3
The code should work as long as you give all the input at the start (when the input dialog appears) different input has to be placed on different lines e.g. + 2 3 quit
26th May 2018, 1:59 PM
TurtleShell
TurtleShell - avatar
+ 3
Deega Hope your feedback helps mail sololearn
26th May 2018, 2:04 PM
Charan Leo25
Charan Leo25 - avatar