You are viewing a single comment's thread. Return to all comments →
def bonAppetit(bill, k, b): # Write your code here value = bill.pop(k) actual = sum(bill)//2 if actual == b: print('Bon Appetit') else: diff = b - actual print(diff)
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 →