From a992eb9e77c7ea2600964336ec3a75078b478f3c Mon Sep 17 00:00:00 2001 From: user <@regina> Date: Wed, 3 Dec 2025 11:51:03 +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=2016?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 2.1_lesson.16.20.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 2.1_lesson.16.20.py diff --git a/2.1_lesson.16.20.py b/2.1_lesson.16.20.py new file mode 100644 index 0000000..22a116e --- /dev/null +++ b/2.1_lesson.16.20.py @@ -0,0 +1,9 @@ +****** Задание 16 Параграф 2.1 ****** +****** За какое время продукты попадают со склада в магазин? ****** + +if name == "main": + stock = int(input()) + market = int(input()) + speed = int(input()) + time = abs(market - stock) / speed + print(f'{time:.2f}') \ No newline at end of file