Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
1-liner solution in Clear category for How Much Gold by przemyslaw.daniel
checkio = lambda a: 1-sum([1-a[i] if 'g' in i else a[i] for i in a])/2
Dec. 11, 2016
Comments: