I'm having problems running code on the code playground, | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

I'm having problems running code on the code playground,

I followed the instructions for the calculator code to code, but when I try running it it always sees some kinda error to point me back to you can check my codes to see what I'm talking about.. https://code.sololearn.com/cajU2iRFZdW1/?ref=app https://code.sololearn.com/c8nFZIn5CWRA/?ref=app

29th Nov 2019, 11:24 PM
Adeyemo Kelvin Iteoluwakishi
Adeyemo Kelvin Iteoluwakishi - avatar
9 Answers
30th Nov 2019, 12:24 AM
NightFox
NightFox - avatar
+ 3
Sololearn code playground is light weighed and doesn't support python interactive input. Please run this code in any other application. The first code, line no 10 is totally mistaken. Line no.2 has problems too. Let me send the code by D.M, Run it in Pydroid, it must work
29th Nov 2019, 11:29 PM
NightFox
NightFox - avatar
+ 1
Marzan so that means there's nothing wrong with my code then? I've been tinkering round with 3 different codes just to complete the simple calculator.
29th Nov 2019, 11:36 PM
Adeyemo Kelvin Iteoluwakishi
Adeyemo Kelvin Iteoluwakishi - avatar
+ 1
But Marzan did you find any flaw in the codes?
29th Nov 2019, 11:41 PM
Adeyemo Kelvin Iteoluwakishi
Adeyemo Kelvin Iteoluwakishi - avatar
+ 1
Kelvin I have played with your code and posted my response there. Good luck.
30th Nov 2019, 2:37 AM
Rik Wittkopp
Rik Wittkopp - avatar
+ 1
Also Kelvin , you need to enter all your inputs together in Sololearn.
30th Nov 2019, 3:21 AM
Rik Wittkopp
Rik Wittkopp - avatar
+ 1
Rik Wittkopp what do you mean by entering input together? And where did you post the code? Thanks.
2nd Dec 2019, 2:10 PM
Adeyemo Kelvin Iteoluwakishi
Adeyemo Kelvin Iteoluwakishi - avatar
0
In the first code you posted as part of this question, I have responded there.
2nd Dec 2019, 7:02 PM
Rik Wittkopp
Rik Wittkopp - avatar
0
I have just played with the second code also, and posted my comments within your code
2nd Dec 2019, 7:30 PM
Rik Wittkopp
Rik Wittkopp - avatar