import pygame # Homework: change the background color of the window. # 1. Open this file and find the screen.fill() call below. # 2. Replace the color tuple with a color of your choice. # Colors are (red, green, blue) where each value is 0-255. # Example: (255, 0, 0) is red, (0, 200, 100) is a green. # 3. Run the program and confirm your color shows up. pygame.init() screen = pygame.display.set_mode((640, 480)) pygame.display.set_caption("Colored Window") running = True while running: for event in pygame.event.get(): if event.type == pygame.QUIT: running = False # TODO: change this color to something you like screen.fill((30, 30, 30)) pygame.display.flip() pygame.quit()