Question: # FIXME: Write the split _ check function. HINT: Calculate the amount of tip and tax, # add to the bill total, then divide by

# FIXME: Write the split_check function. HINT: Calculate the amount of tip and tax,
# add to the bill total, then divide by the number of diners.
''' Your solution goes here '''
bill = float(input())
people = int(input())
# Cost per diner at the default tax and tip percentages
print(f'Cost per diner: ${split_check(bill, people):.2f}')
bill = float(input())
people = int(input())
new_tax_percentage = float(input())
new_tip_percentage = float(input())

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!