Hackerrank 레벨업하기
문제
Bon Appetit
def bonAppetit(bill, k, b):
del bill[k]
b_actual = sum(bill)/2
if b == b_actual:
print('Bon Appetit')
else:
print(int(b - b_actual))
궁금하신게 있다면 메일 주세요.
k2h7913@daum.net
cafehero123@gmail.com