Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
80 solution in Speedy category for Pearls in the Box by nennogabriel
checkio=lambda p,n:round((1-(1-2*p.count('w')/len(p))*pow(1-2/len(p),n-1))/2,2)
Aug. 10, 2014