Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- comp_jar = int(input())
- jel_jar = int(input())
- comp_jar_all = comp_jar + 1
- jel_jar_all = jel_jar + 1
- quant_comp_all = comp_jar_all * 0.300 + comp_jar_all * 0.300 * 0.05
- quant_jel_all = jel_jar_all * 0.650 + jel_jar_all * 0.650 * 0.10
- quant_fruit_all = quant_comp_all + quant_jel_all
- price = quant_fruit_all * 3.20
- print("%.2f" % price)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement