Код для Python Shell 3.8.5 Games
import os
os.system('pip install pygame')
input("PyGame installed.")
Wide-eyed Wasp
import os
os.system('pip install pygame')
input("PyGame installed.")