+ 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
4 ответов
+ 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 :)
+ 3
compiler is basic
+ 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
+ 3
Deega Hope your feedback helps
mail sololearn