234 points · by tu7001 · 10y ago · 12 comments
>because there are 2 ways to make 27 with the numbers (10, 9, 8), namely, ((10+9)+8) and (10+(9+8))
why not also (10+9+8)?
http://nbviewer.jupyter.org/url/norvig.com/ipython/Cheryl.ip...
Such elegant and readable translation from English to logic to code.
I really envy all the students who get to study Norvig like this.
Also, you'll probably have access to better health care.