Here is a sample pygame program:
import pygame,time win = pygame.display.set_mode((500,500)) x = 0 while True: for e