import pygame ### initialization width = 640 height = 480 screen = pygame.display.set_mode((width,height)) ### the game loop keepGoing = True while (keepGoing): # deal with events for event in pygame.event.get(): if event.type == pygame.QUIT: keepGoing = False # background color screen.fill(pygame.color.Color("darkblue")) # draw a circle pygame.draw.circle(screen,pygame.color.Color("orange"),(100,100), (50)) # update display pygame.display.update() ### quit pygame.quit()