Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
exec(worth_of_words.__doc__) & eval('+'.join(word))) solution in Creative category for Worth of Words by flpo
def worth_of_words(words):
"""e, a, i, o, n, r, t, l, s, u = 1
d, g = 2
b, c, m, p = 3
f, h, v, w, y = 4
k = 5
j, x = 8
q, z = 10
"""
exec(worth_of_words.__doc__.replace(',', '=').replace('\n', ';'), locals(), globals())
return max(words, key=lambda word: eval('+'.join(word)))
April 3, 2018