Markdown and LaTeX can change your notebook from plain code to an interesting paper that people would love to read. Notebook Link: http://nbviewer.ipython.org/github/twistedhardware/mltutorial/blob/master/notebooks/jupyter/2.%20Markdown%20%26%20LaTeX.ipynb
There are some nice ways to pretty up your codes in python. I use Jupyter Notebook along with libraries like sympy to output equations from my codes in LaTeX format. Keeping things in variable form in addition to passing numerical values to functions is a nice way to keep tabs on what your code is doing.