Задание 5 из 20 параграфф 2.1
This commit is contained in:
parent
81a69b3584
commit
874c94d254
9
lesson_5.py
Normal file
9
lesson_5.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
'''***Задание 3 из 20 Параграф 2.1 ***************
|
||||
* Теперь надо определить, какую сдачу нужно выдать покупателю за покупку товара.
|
||||
'''
|
||||
|
||||
if __name__ == "__main__":
|
||||
price = int(input())
|
||||
weight = int(input())
|
||||
money = int(input())
|
||||
print(money - price * weight)
|
||||
Loading…
Reference in a new issue