e16247a
1
2
3
4
5
6
consumption=eval(input()) tip=float(consumption*0.1) tax=float(consumption*0,.07) total=consumption+tip+tax print("The consumption is %.4f, the tip is %.4f, the tax is %.4f,so the total consumption is %.4f"%(consumption,tip,tax,total))