You are viewing a single comment's thread. Return to all comments →
def bonAppetit(bill, k, b): amount = sum(bill) - bill[k] total = ((amount//2) - b) * -1 if total == 0: print("Bon Appetit") else: print(total)
Seems like cookies are disabled on this browser, please enable them to open this website
Bill Division
You are viewing a single comment's thread. Return to all comments →