Advertisement
HristoBaychev

Fish Tank

Jan 28th, 2023
456
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.35 KB | None | 0 0
  1. payPerYear = int(input())
  2.  
  3. priceShoes = payPerYear * 0.40
  4. totalPriceShoes = payPerYear - priceShoes
  5.  
  6. priceEqiup = totalPriceShoes * 0.20
  7. totalPriceEquip = totalPriceShoes - priceEqiup
  8.  
  9. priceBall = totalPriceEquip * 0.25
  10.  
  11. priceAcc = priceBall * 0.20
  12.  
  13. totalSum = payPerYear + totalPriceShoes + totalPriceEquip + priceBall + priceAcc
  14.  
  15. print(totalSum)
  16.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement