+ 1
How to install pygame on sololearn, if possible
I would like to try my code in python that I used the pygame library,
4 ответов
+ 4
Quoting myself:
You install modules as shown in the sample code below. However, mind that sololearn Python playground is a sandbox with limited execution time and without interactivity or GUI. [...]
https://sololearn.com/compiler-playground/cyS21vqbP3Wk/?ref=app
https://www.sololearn.com/discuss/3334553/?ref=app
+ 2
You can install libraries on Sololearn but it won't render libs like tkinter and pygame. You may use Pydroid which is a powerful android application for python.
In Pydroid, click on the menu icon on top-left, select terminal, and type `pip install pygame`. Once it's finished, you can go back and run your program
+ 1
But I already tried with the header code for installation but the program does not display anything
0
you can't use Pygame in Sololearn