Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
1 line solution in Clear category for How Much Gold by freeman_lex
from fractions import Fraction
checkio = lambda A: (sum(A[i] if 'gold' in i else 1 - A[i] for i in A) - 1) / 2
July 8, 2016
Comments: