Skip to content

Instantly share code, notes, and snippets.

View michaelgobz's full-sized avatar
🎯
Focusing

Michael Goboola michaelgobz

🎯
Focusing
View GitHub Profile
def solve(meal_cost, tip_percent, tax_percent):
if __name__ == '__main__':
meal_cost = float(input())
tip_percent = int(input())
tax_percent = int(input())
total = (meal_cost*(tip_percent/100) + meal_cost*(tax_percent/100) + meal_cost)
solve(meal_cost, tip_percent, tax_percent)