File size: 221 Bytes
e16247a
 
 
 
 
1
2
3
4
5
consumption=eval(input())
tip=consumption*0.1
tax=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))