From 290f187b921f9cc4d17a7bff87394ad19dbcad80 Mon Sep 17 00:00:00 2001 From: slambits182 Date: Sat, 13 Sep 2014 15:27:08 -0700 Subject: [PATCH 1/2] corrected description of functions --- part-3.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/part-3.ipynb b/part-3.ipynb index bc977e9..0bcc80a 100644 --- a/part-3.ipynb +++ b/part-3.ipynb @@ -1,7 +1,7 @@ { "metadata": { "name": "", - "signature": "sha256:5d30c1bf0ef6ef9e2875c27ac6be4114ed2b22ed413599126aed7462e53be2a6" + "signature": "sha256:3848b241b0636c3e2673e4668e6bbb1faaf7f14b99a3e00c8373dbe613082288" }, "nbformat": 3, "nbformat_minor": 0, @@ -96,7 +96,7 @@ "\n", "The name of our function is 'happy_birthday_carol'. It has 0 parameters. \n", "\n", - "The body of our function contains four print lines. We need to indent these lines, and any other lines of code in function's body, by 4 spaces.\n", + "The body of our function contains one print line. We need to indent this line, and any other lines of code in a function's body, by 4 spaces.\n", "\n", "Notice that nothing was printed out after we defined our function. To use our function we need to call it, like this:" ] From bbf83e3f56c4e7c567cfee84e8cf274759890e71 Mon Sep 17 00:00:00 2001 From: slambits182 Date: Sat, 13 Sep 2014 15:59:45 -0700 Subject: [PATCH 2/2] fixed typo --- part-3.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/part-3.ipynb b/part-3.ipynb index 0bcc80a..a32f41c 100644 --- a/part-3.ipynb +++ b/part-3.ipynb @@ -336,7 +336,7 @@ "source": [ "Modules are used to make a programmer's life easier. A module is used to group functions, variables, and other things together in an understandable bundle.\n", "\n", - "Python comes with lots of modules built-in. For example there's a random module for generating randomnes. Let's import it so we can use some of its functions:" + "Python comes with lots of modules built-in. For example there's a random module for generating random numbers. Let's import it so we can use some of its functions:" ] }, {