Skip to content

Commit d17d722

Browse files
committed
Improve wording in list comprehensions example
1 parent a201f72 commit d17d722

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

part-4.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,14 +110,14 @@
110110
"cell_type": "markdown",
111111
"metadata": {},
112112
"source": [
113-
"Note how our list comprehension is written within the brackets: The for-loop statement is written at the end whereas the action inside of the for-loop is written first: n * n"
113+
"Note how our list comprehension is written within the brackets: The list we're looping over (my_favorite_numbers) is written at the end whereas the action inside of the for-loop is written first: n * n"
114114
]
115115
},
116116
{
117117
"cell_type": "markdown",
118118
"metadata": {},
119119
"source": [
120-
"Let's revisit a problem we've already solved in Danny's lecture on list:\n",
120+
"Let's revisit a problem we've already solved in Danny's lecture on lists:\n",
121121
"\n",
122122
"Pick every name from a list that begins with a vowel.\n",
123123
"\n",

0 commit comments

Comments
 (0)