From 54b6129806ff40e489509469b38141b1553c6d2f Mon Sep 17 00:00:00 2001 From: user <@regina> Date: Wed, 3 Dec 2025 11:43:48 +0500 Subject: [PATCH] =?UTF-8?q?=D0=A1=D0=B4=D0=B5=D0=BB=D0=B0=D0=BB=20=D0=B7?= =?UTF-8?q?=D0=B0=D0=B4=D0=B0=D0=BD=D0=B8=D0=B5=2013?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 2.1_lesson.14.20.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 2.1_lesson.14.20.py diff --git a/2.1_lesson.14.20.py b/2.1_lesson.14.20.py new file mode 100644 index 0000000..8b056ea --- /dev/null +++ b/2.1_lesson.14.20.py @@ -0,0 +1,8 @@ +****** Задание 14 Параграф ****** +****** Напишите программу, которая определяет максимальное количество ходов, которое потребуется, чтобы найти зелёный шарик. ****** + +if name == "main": + red = int(input()) + green = int(input()) + blue = int(input()) + print(red + blue + 1) \ No newline at end of file