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 | Organizing Containers of Balls

Geek for geeks | Reverse words in a given string

Hackerrank | Sequence Equation