Задание 5 выполнил
This commit is contained in:
parent
0ff52e6636
commit
74fe612687
7
2.1_lesson.5.20.ру.py
Normal file
7
2.1_lesson.5.20.ру.py
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
****** Параграф 2.1 Задание 5 ***
|
||||||
|
*** Какую сдачу нужно выдать покупателю за покупку товара. Стоимость покупки вычисляется как произведение цены на вес товара.***
|
||||||
|
|
||||||
|
price = int(input())
|
||||||
|
weight = int(input())
|
||||||
|
money = int(input())
|
||||||
|
print(money - price * weight)
|
||||||
Loading…
Reference in a new issue