# Homework 32, problem 2: target. # # Draw three concentric circles (one inside the other, centred at the same # point) in alternating colours. The outermost circle should be the # largest; the innermost the smallest. # # Run with: python exercises/32/homework/02-target.py import pygame pygame.init() screen = pygame.display.set_mode((800, 600)) pygame.display.set_caption("Target") clock = pygame.time.Clock() running = True while running: for event in pygame.event.get(): if event.type == pygame.QUIT: running = False screen.fill((200, 200, 200)) # TODO: draw the three circles here pygame.display.flip() clock.tick(60) pygame.quit()