From 89bcc518750fc2120c2ea59cad2c776004b93220 Mon Sep 17 00:00:00 2001 From: user Date: Tue, 9 Dec 2025 14:32:14 +0500 Subject: [PATCH] =?UTF-8?q?=D0=97=D0=B0=D0=B4=D0=B0=D0=BD=D0=B8=D0=B5=2018?= =?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.18.20.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/2.1_lesson.18.20.py b/2.1_lesson.18.20.py index e69de29..9f2ddc8 100644 --- a/2.1_lesson.18.20.py +++ b/2.1_lesson.18.20.py @@ -0,0 +1,7 @@ +****** Задание 18 Параграф 2.1 ****** +****** Продолжаем работать с задачей. Кстати, несмотря на ошибку аппарата, сдачу тоже нужно отдавать. ****** + +if name == "main": + cost = int(input(), 2) + bill = int(input()) + print(bill - cost)