From d340ea2c53e02ffd08b42a6f878fef31308dd936 Mon Sep 17 00:00:00 2001 From: Jon Speicher Date: Sat, 27 Jul 2013 15:27:45 -0400 Subject: [PATCH] Add example headers --- python/sw_engineering/SoftwareEngineering.ipynb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/python/sw_engineering/SoftwareEngineering.ipynb b/python/sw_engineering/SoftwareEngineering.ipynb index 74d261c..a50a53e 100644 --- a/python/sw_engineering/SoftwareEngineering.ipynb +++ b/python/sw_engineering/SoftwareEngineering.ipynb @@ -165,7 +165,14 @@ "\n", "One approach to reducing this duplication is to *decompose* the function above into several separate functions, each with a single, small, well-defined responsibility (remember our list of good function criteria from the Intro session). This is often known as [refactoring](http://en.wikipedia.org/wiki/Code_refactoring). The goal is to rearrange code to make it easier to read, maintain, and reuse while preserving the existing functionality.\n", "\n", - "We are going to *extract* a new function from `count_wolverines`.\n", + "We are going to *extract* a new function from `count_wolverines`." + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Exercise: Read animal sightings from a file\n", "\n", "Create a new function called `read_sightings_from_file`. The function should:\n", "\n", -- 2.26.2