• + 0 comments
    def bonAppetit(bill, k, b):
        # Write your code here
        
        total = 0
        for i in bill : 
            total += i
        actual = (total - bill[k]) // 2
        ca = b - actual
         
        if ca == 0:
            print("Bon Appetit")
        else: 
            print(ca)