You are viewing a single comment's thread. Return to all comments →
def total():x=float(input());total=(round(x+(x*int(input())/100)+(x*int(input())/100)));print("The total meal cost is {} dollars.".format(total))
Day 2: Operators
You are viewing a single comment's thread. Return to all comments →
def total():x=float(input());total=(round(x+(x*int(input())/100)+(x*int(input())/100)));print("The total meal cost is {} dollars.".format(total))