From 286ed1c832a9f78632537861e9ac6b1516b48ebe Mon Sep 17 00:00:00 2001 From: shariik Date: Tue, 16 Dec 2025 10:59:48 +0500 Subject: [PATCH] =?UTF-8?q?=D0=97=D0=B0=D0=B4=D0=B0=D0=BD=D0=B8=D0=B5=207?= =?UTF-8?q?=20=D0=BF=D0=B0=D1=80=D0=B0=D0=B3=D1=80=D0=B0=D1=84=202.3=20?= =?UTF-8?q?=D1=81=D0=B4=D0=B5=D0=BB=D0=B0=D0=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 2.3_lesson.10.20.py | 0 2.3_lesson.11.20.py | 0 2.3_lesson.12.20.py | 0 2.3_lesson.7.20.py | 19 +++++++++++++++++++ 2.3_lesson.8.20.py | 0 2.3_lesson.9.20.py | 0 6 files changed, 19 insertions(+) create mode 100644 2.3_lesson.10.20.py create mode 100644 2.3_lesson.11.20.py create mode 100644 2.3_lesson.12.20.py create mode 100644 2.3_lesson.7.20.py create mode 100644 2.3_lesson.8.20.py create mode 100644 2.3_lesson.9.20.py diff --git a/2.3_lesson.10.20.py b/2.3_lesson.10.20.py new file mode 100644 index 0000000..e69de29 diff --git a/2.3_lesson.11.20.py b/2.3_lesson.11.20.py new file mode 100644 index 0000000..e69de29 diff --git a/2.3_lesson.12.20.py b/2.3_lesson.12.20.py new file mode 100644 index 0000000..e69de29 diff --git a/2.3_lesson.7.20.py b/2.3_lesson.7.20.py new file mode 100644 index 0000000..65af464 --- /dev/null +++ b/2.3_lesson.7.20.py @@ -0,0 +1,19 @@ +****Задание 7 Параграф 2.3*** +**** На велогонках важно всё автоматизировать: особенно старт. +По правилам квалификации каждый гонщик стартует с задержкой на секунду больше, чем предыдущий. +Первый гонщик стартует после отсчёта: 3, 2, 1... старт! +Второй — 4, 3, 2, 1... старт! +И так далее. + +Пора подключать вложенные циклы!**** + +if name == "main": + count = int(input()) + + base_delay = 3 + + for number in range(1, count + 1): + for delay in range(base_delay): + print('До старта', base_delay - delay, 'секунд(ы)') + print(f'Старт {number}!!!') + base_delay += 1 diff --git a/2.3_lesson.8.20.py b/2.3_lesson.8.20.py new file mode 100644 index 0000000..e69de29 diff --git a/2.3_lesson.9.20.py b/2.3_lesson.9.20.py new file mode 100644 index 0000000..e69de29