You are viewing a single comment's thread. Return to all comments →
:D
return sum(sorted(calorie)[::-1][i] *2**i for i in range(len(calorie)))
Seems like cookies are disabled on this browser, please enable them to open this website
Marc's Cakewalk
You are viewing a single comment's thread. Return to all comments →
:D
return sum(sorted(calorie)[::-1][i] *2**i for i in range(len(calorie)))