Advertisement
veronikaaa86

08. Basketball Equipment

Sep 11th, 2022
1,258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.26 KB | None | 0 0
  1. year_tax = int(input())
  2.  
  3. shoes_price = year_tax - (year_tax * 0.40)
  4. suit_price = shoes_price - (shoes_price * 0.20)
  5. ball_price = suit_price / 4
  6. acc_price = ball_price / 5
  7.  
  8. total_sum = shoes_price + suit_price + ball_price + acc_price + year_tax
  9.  
  10. print(total_sum)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement