File "game.py", line 5, in
pygame.display.set_caption(game)
NameError: name 'game' is not defined
import pygame
pygame.init()
win = pygame.display.set_mode((500, 500))
pygame.display.set_caption(game)
run = True
while(True):
for event in pygame.event.get():
if event.type == pygame.QUIT:
run = False
pygame.quit()