Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions part-3.ipynb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"metadata": {
"name": "",
"signature": "sha256:5d30c1bf0ef6ef9e2875c27ac6be4114ed2b22ed413599126aed7462e53be2a6"
"signature": "sha256:3848b241b0636c3e2673e4668e6bbb1faaf7f14b99a3e00c8373dbe613082288"
},
"nbformat": 3,
"nbformat_minor": 0,
Expand Down Expand Up @@ -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:"
]
Expand Down Expand Up @@ -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:"
]
},
{
Expand Down