You are viewing a single comment's thread. Return to all comments →
def bonAppetit(bill, k, b): bill.remove(bill[k]) actual=sum(bill)//2 refund=b-actual if refund==0: print("Bon Appetit") else: print(refund)
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 →