Newer
Older
name, cost, weight, mon = input(), int(input()), int(input()), int(input())
print("Чек", f"{name} - {weight}кг - {cost}руб/кг", f"Итого: {cost * weight}руб", sep="\n")
print(f"Внесено: {mon}руб", f"Сдача: {mon - (cost * weight)}руб", sep="\n")