I wrote a python code that worked on my linux terminal but didn't run on the playground here.can someone tell me why? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I wrote a python code that worked on my linux terminal but didn't run on the playground here.can someone tell me why?

22nd Apr 2019, 9:51 PM
Yasser Sakine
Yasser Sakine - avatar
3 Answers
+ 4
On SoloLearn: There are standard libraries that are disabled for safety reasons. There is only input allowed at the start of the program. Also, there is no graphical user interface. There is a small chance you ran python2, whereas SoloLearn runs Python 3.7+ These reasons are probably apart of the reason why it doesn't work.
22nd Apr 2019, 10:27 PM
Ahri Fox
Ahri Fox - avatar
+ 1
Can you post a link to your code?
22nd Apr 2019, 10:00 PM
Lambda_Driver
Lambda_Driver - avatar
+ 1
SoloLearn playgrounds can only handle very basic programs.
23rd Apr 2019, 5:53 AM
Seb TheS
Seb TheS - avatar