Teo_Yanchev

change_bureau_28-29-2019_exam

Jul 17th, 2020
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. count_bitcoin = int(input())
  2. count_china_money = float(input())
  3. commission = float(input())/100
  4.  
  5. bitcoin = count_bitcoin * 1168
  6. china_money = count_china_money * 0.15
  7. china_dollars_to_lv = china_money * 1.76
  8. total = (bitcoin + china_dollars_to_lv) / 1.95
  9. commission_price = total * commission
  10. left_after_commission = total - commission_price
  11. print(f"{left_after_commission:.2f}")
Advertisement
Add Comment
Please, Sign In to add comment