You are viewing a single comment's thread. Return to all comments →
It's basically
meal_price * (1 + tip_percent / 100 + tax_percent / 100)
you could do it like this too
print(round (float(input())*(1+(int(input())+int(input()))/100)))
Seems like cookies are disabled on this browser, please enable them to open this website
Day 2: Operators
You are viewing a single comment's thread. Return to all comments →
It's basically
meal_price * (1 + tip_percent / 100 + tax_percent / 100)
you could do it like this too