check if pygame is installed win 10 code example
Example 1: install pygame
pip install pygame
Example 2: how to set up pygame
import pygame
import os
import sys
import random
pygame.init()
screen = pygame.display.set_mode((800, 500))
pip install pygame
import pygame
import os
import sys
import random
pygame.init()
screen = pygame.display.set_mode((800, 500))