{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "After working through the exercises in this notebook you should be familiar with Python variables, indexing, [for loops][for], and [if statements][if].\n", "\n", "[for]: http://docs.python.org/2/reference/compound_stmts.html#the-for-statement\n", "[if]: http://docs.python.org/2/reference/compound_stmts.html#the-if-statement" ] }, { "cell_type": "code", "execution_count": 3, "metadata": {}, "outputs": [], "source": [ "from ipythonblocks import BlockGrid, colors, show_color, show_color_triple" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "[IPython help features](https://jakevdp.github.io/PythonDataScienceHandbook/01.01-help-and-documentation.html)" ] }, { "cell_type": "code", "execution_count": 4, "metadata": {}, "outputs": [], "source": [ "BlockGrid?" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "These blocks with `In[ ]:` and `Out[ ]:` next to them are \"cells\". Jupyter \"echos\" whatever is on the last line of a cell." ] }, { "cell_type": "code", "execution_count": 5, "metadata": {}, "outputs": [ { "data": { "text/html": [ "