Skip to content

Commit fd67ef4

Browse files
committed
Merge branch 'part-4-list-comprehension'
* part-4-list-comprehension: Highlight example between for loop and list comprehension
2 parents a1724ef + 37bacf3 commit fd67ef4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

part-4.ipynb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"metadata": {
33
"name": "",
4-
"signature": "sha256:7b5c09563e39ddf2ede88b8ff357dcdc654af16292c9c86e3bca2fbf703f64c2"
4+
"signature": "sha256:d806710bd05c6f416dc3842515677b9246aa116881cfd0f7dd2c6b748a3a67e5"
55
},
66
"nbformat": 3,
77
"nbformat_minor": 0,
@@ -111,7 +111,6 @@
111111
"metadata": {},
112112
"source": [
113113
"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"
114-
"Let's compare the two methods real quick by highlighting the different logical parts."
115114
]
116115
},
117116
{

0 commit comments

Comments
 (0)