Сделал задание 18

This commit is contained in:
user 2025-12-03 11:55:28 +05:00
parent ec132026ce
commit c75040d01a

7
2.1_lesson.18.20.py Normal file
View file

@ -0,0 +1,7 @@
****** Задание 18 Параграф 2.1 ******
****** Продолжаем работать с задачей. Кстати, несмотря на ошибку аппарата, сдачу тоже нужно отдавать. ******
if name == "main":
cost = int(input(), 2)
bill = int(input())
print(bill - cost)