diff --git a/Module2/home_work/03_hw.md b/Module2/home_work/03_hw.md index 41a45c3..055610f 100644 --- a/Module2/home_work/03_hw.md +++ b/Module2/home_work/03_hw.md @@ -23,7 +23,18 @@ ```python # TODO: you code here... ``` - +x1 = int(input()) +y1 = int(input()) +x2 = int(input()) +y2 = int(input()) +summ = x1 + y1 + x2 + y2 + +if (x1 + y1 + x2 + y2) % 2 == 0: + print('Да') +elif summ <= 19: + print('Вы вышли за пределы доски') +else: + print('Нет') --- ### Подсказки