diff --git a/lesson_5.py b/lesson_5.py new file mode 100644 index 0000000..d2472d8 --- /dev/null +++ b/lesson_5.py @@ -0,0 +1,9 @@ +'''***Задание 3 из 20 Параграф 2.1 *************** +* Теперь надо определить, какую сдачу нужно выдать покупателю за покупку товара. +''' + +if __name__ == "__main__": + price = int(input()) + weight = int(input()) + money = int(input()) + print(money - price * weight) \ No newline at end of file