errorType / 17.py
Beuys's picture
Upload 47 files
e16247a verified
raw
history blame contribute delete
236 Bytes
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))