while running: event = pygame.event.poll() if event.type == pygame.QUIT: running=0 screen.fill((0,0,255)) pygame.display.flip()