Sichanov

ee

Jan 16th, 2021
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.25 KB | None | 0 0
  1. hall_rent = int(input())
  2. cake_price = hall_rent * 20 / 100
  3. drinks_price = cake_price - cake_price * 45 / 100  # cake_price * 0.55
  4. animator_price = hall_rent / 3
  5. total_sum = hall_rent + cake_price + drinks_price + animator_price
  6. print(total_sum)
  7.  
Advertisement
Add Comment
Please, Sign In to add comment