Разрешил конфликт в task1.py
This commit is contained in:
4
task1.py
4
task1.py
@@ -26,12 +26,10 @@ def draw_ear(surface, x, y, width, height, color):
|
||||
|
||||
def draw_leg(surface, x, y, width, height, color):
|
||||
"""Рисует ногу зайца."""
|
||||
ellipse(surface, color, (x - width // 2, y - height // 2, width, height))
|
||||
|
||||
def draw_hare(surface, center_x, center_y, total_width, total_height, color):
|
||||
"""
|
||||
Рисует зайца на экране.
|
||||
|
||||
|
||||
Параметры:
|
||||
surface: поверхность для рисования
|
||||
center_x, center_y: координаты центра изображения
|
||||
|
||||
Reference in New Issue
Block a user