Python code to solve xkcd 1313 by Peter Norvig
<meta-comment on meta-golf><p>Judging by the amount of fawning here, this guy must be a HN celebrity. Interesting post nevertheless!<p>I can only hope, one day, I'd be writing and publishing joyful little hacks like this, to such general applause, instead of eking out a living. I have to say I'm a bit envious here!<p>Well done to the dude. An inspirational post, in many ways.