import pygame
pygame.init()
screen = pygame.display.set_mode(800, 600)
caption = pygame.displayer.set_mode("My gaem")
running = True
while running:
screen.fill(0, 0, 0)
for i in pygame.event.get():
if(i == pygame.quit):
running = False
pygame.quit()
quit()
pygame.update()