diff --git a/2.1_lesson.18.20.py b/2.1_lesson.18.20.py new file mode 100644 index 0000000..3c80a8e --- /dev/null +++ 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) \ No newline at end of file