From 1f71998bf79ece079f532e25dfc5bb76fe6afe40 Mon Sep 17 00:00:00 2001 From: shariik Date: Tue, 2 Dec 2025 10:58:11 +0500 Subject: [PATCH] =?UTF-8?q?=D0=97=D0=B0=D0=B4=D0=B0=D0=BD=D0=B8=D0=B5=205?= =?UTF-8?q?=20=D0=B2=D1=8B=D0=BF=D0=BE=D0=BB=D0=BD=D0=B8=D0=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 2.1_lesson.5.20.ру.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 2.1_lesson.5.20.ру.py diff --git a/2.1_lesson.5.20.ру.py b/2.1_lesson.5.20.ру.py new file mode 100644 index 0000000..f2d73ba --- /dev/null +++ b/2.1_lesson.5.20.ру.py @@ -0,0 +1,7 @@ +****** Параграф 2.1 Задание 5 ****** +******* Теперь надо определить, какую сдачу нужно выдать покупателю за покупку товара. Стоимость покупки вычисляется как произведение цены на вес товара.***** + +price = int(input()) +weight = int(input()) +money = int(input()) +print(money - price * weight) \ No newline at end of file