Advertisement
Spocoman

Sea Trip

Sep 23rd, 2023
833
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.32 KB | None | 0 0
  1. food_price = float(input()) * 3
  2. souvenir_price = float(input()) * 3
  3. day_hotel_price = float(input())
  4.  
  5. hotelPrice = day_hotel_price * 0.90 + day_hotel_price * 0.85 + day_hotel_price * 0.80
  6. transportPrice = 210.0 * 2 / 100 * 7 * 1.85
  7.  
  8. print(f'Money needed: {food_price + souvenir_price + hotelPrice + transportPrice:.2f}')
  9.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement