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