You are viewing a single comment's thread. Return to all comments →
MY Python3 solution:
def marcsCakewalk(calorie): calorie.sort(reverse = True) return sum((2**i)*c for i,c in enumerate(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 →
MY Python3 solution: