We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
def calculate_tip(bill, service_quality): if service_quality == "poor": return bill * .1 elif service_quality == "average": return bill * .15 elif service_quality == "excellent": return bill * .2 else: return None