You are viewing a single comment's thread. Return to all comments →
Python3
def bonAppetit(bill, k, b): # Write your code here diff = (sum(bill)-bill[k])/2 if diff == b: print('Bon Appetit') else: print(abs(int(diff-b)))
Bill Division
You are viewing a single comment's thread. Return to all comments →
Python3