Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bitcoin_count = int(input())
- chinese_yuan_count = float(input())
- commission = float(input())
- euro = 1.95
- dollar = 1.76
- bitcoin_price = 1168
- chinese_yuan_price = 0.15 * dollar
- total = (bitcoin_price * bitcoin_count + chinese_yuan_price * chinese_yuan_count) / euro
- after_commission = total - (commission/100 * total)
- print(f'{after_commission:.2f}')
Advertisement
Add Comment
Please, Sign In to add comment