You are viewing a single comment's thread. Return to all comments →
Python 3:
calorie.sort(reverse=True) return sum([2**i * calorie[i] for i in range(len(calorie))])
Marc's Cakewalk
You are viewing a single comment's thread. Return to all comments →
Python 3: