People have been interested in this in the past so I'll post it again: Peter Norvig's satisfying Jupyter notebook solutions from AoC 2016[0].
[0]http://nbviewer.jupyter.org/url/norvig.com/ipython/Advent%20...
[0]http://nbviewer.jupyter.org/url/norvig.com/ipython/Advent%20...
[0] https://github.com/norvig/pytudes/blob/master/ipynb/Advent%2...