What's the reasoning for having this Python code in a Markdown cell? It won't hurt anything if it run. I think students are already somewhat confused about how IPython notebooks work, and having Python code sometimes in a Python cell and sometimes in a Markdown cell will only further confuse them.