SHARE
TWEET

Untitled

a guest Apr 19th, 2019 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. rect_table = int(input())
  2. length_rect_table = float(input())
  3. width_rect_table = float(input())
  4.  
  5. covers_area = rect_table * (length_rect_table + 2 * 0.30) * (width_rect_table + 2 * 0.30)
  6. kareta_area = rect_table * (length_rect_table / 2) * (width_rect_table / 2)
  7.  
  8. usd_price = (covers_area * 7) + (kareta_area * 9)
  9. bgn_price = usd_price * 1.85
  10.  
  11. print(f"{usd_price:.2f}")
  12. print(f"{bgn_price:.2f}")
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top