Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Uncategorized category for How Much Gold by bunnychai
# migrated from python 2.7
def checkio(alloys):
"""
Find proportion of gold, assume exist unique solution.
"""
return 1 - sum([1 - v if 'gold' in k else v for (k, v) in alloys.items()]) / 2
Sept. 29, 2013
Comments: