A randomness extractor in Python applicable from skewed coins to Shakespeare — “Anyone who considers arithmetical methods of producing random digits is, of course, in a state of sin.”
— John von Neumann Is it possible to obtain a fair toss from an unfair coin? Or, generally, is it possible to extract randomness from a source with an output that has a…