import pygame import sys pygame.init() display = pygame.display.set_mode((300, 300)) display.fill((255,255,255)) color_dark = (100,100,100) while True: for event in pygame.event.get(): if event.type == pygame.QUIT: pygame.quit() sys.exit() pygame.display.update()