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