import pygame from pygame.draw import * from task2_gor import pezag pygame.init() FPS = 30 screen = pygame.display.set_mode((800, 500)) pezag(screen) def bird(x, y, size): arc(screen, (60, 30, 10), (x - size, y, size, size), 3.14 * 0.1 , 3.14 * 0.9, 3) arc(screen, (60, 30, 10), (x, y, size, size), 3.14 * 0.1 , 3.14 * 0.9, 3) # птицы в небе bird(250, 220, 40) bird(330, 240, 45) bird(420, 230, 40) bird(500, 210, 50) # птицы над водой bird(450, 400, 50) bird(550, 420, 45) bird(650, 410, 55) bird(350, 430, 50) pygame.display.update() clock = pygame.time.Clock() finished = False while not finished: clock.tick(FPS) for event in pygame.event.get(): if event.type == pygame.QUIT: finished = True pygame.quit()