Can any one tell me why we can't run graphical programs in the SoloLearn Playground? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Can any one tell me why we can't run graphical programs in the SoloLearn Playground?

Indeed, when I'm searching for modules that are available in the SoloLearn Playground, I can see that tkinter, matplotlib, ... are available but I can't use them. I like really python graphical programs and when I saw them on SoloLolearn playground, I was happy but unfortunately can't use them. Can anyone explain why?? For example the code below doesn't work here (no output), but in a python IDE it works. import matplotlib.pyplot as plt a = [1,2,3,4,5,6,7,8,9,10] b = [54,67,89,4,0,76,765,65,321,65] plt.plot(a, b) plt.show() https://code.sololearn.com/c3JD504vI659/?ref=app

25th Oct 2020, 4:52 PM
Stefan
Stefan - avatar
3 Answers
+ 7
Because Sololearn is console based for non-web codes. If you want graphical programs on Sololearn then use Javascript.
25th Oct 2020, 4:53 PM
Raj Chhatrala
Raj Chhatrala - avatar
+ 3
Jan Markus yes! I did it. And on Android, Pydroid3 is my editor. It's simply amazing. Thx!
26th Oct 2020, 2:44 AM
Stefan
Stefan - avatar
+ 1
I think it is because sololearn is more of the python shell it only works with simple programs. wat I mean is that it won't run interactive programs.
25th Oct 2020, 6:00 PM
aturinda david
aturinda david - avatar