3 Answers
+ 3
Hi, Aafiya Naz !
Just use import. To import the random module:
import random
+ 2
Try this to download any module in sololearn, but not module with interface like PyQt5:
import os
os.sysytem("pip -qq install <module name> ")
import <module name>
https://code.sololearn.com/cuD06r3dQlua/?ref=app
0
https://code.sololearn.com/cXDjL2FcYNuB/?ref=app
See the how many packages are already in Sololearn and then import