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