Hackerank | Bon Appetit

def bonAppetit(bill, k, b):
    print(b - (sum(bill) - bill[k]) // 2 or 'Bon Appetit') 

Comments

Popular posts from this blog

Hackerrank | Sequence Equation

HackerRank | Organizing Containers of Balls

HackerRank | Minimum Distances