import pygame # Homework: draw a simple scene using shapes. # The scene should have at least: # - A sky (rectangle filling the top half of the screen) # - A ground (rectangle filling the bottom half) # - A sun (circle near the top) # - One other shape of your choice (tree, house, cloud, etc.) # All colors should be stored in named variables. pygame.init() screen = pygame.display.set_mode((640, 480)) pygame.display.set_caption("Simple Scene") # TODO: define your color variables SKY = (135, 206, 235) GROUND = ( 80, 140, 60) SUN = (255, 230, 50) running = True while running: for event in pygame.event.get(): if event.type == pygame.QUIT: running = False screen.fill((0, 0, 0)) # TODO: draw sky, ground, sun, and one more shape pygame.display.flip() pygame.quit()