0
How to use the module pygame while coding in the sololearn app?
I used pygame as normally i.e. import pygame but it says no module found how to import it for eg. refer the code below. import pygame print (pygame.init()) # the output is normally a tuple consisting of no.of process done and no.of errors for eg. output : (6,0) 6 is no. of process 0 is no. of errors but while using it in the sololearns code playground it gives no output saying no module named pygame found.
2 Réponses
+ 2
The SoloLearn compiler is built to be lightweight, meaning that it wouldn't come with the capability of using the PyGame library. You'd have to use another compiler that isn't so lightweight.
+ 1
ok thanks