Last active
February 16, 2019 14:22
-
-
Save michaelgobz/17cb228c59ecf1268a0d005a771a09c4 to your computer and use it in GitHub Desktop.
my code.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment