Skip to content

Commit c2fee9b

Browse files
authored
Merge pull request dabeaz-course#130 from DavideAG/fix_typo_exercise_2.22
Chapter 2.6 - Fixed typo in exercise 2.22
2 parents 6021acf + d55d6f7 commit c2fee9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Notes/02_Working_with_data/06_List_comprehension.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ Show how you could build a list of tuples `(name, shares)` where `name` and `sha
207207
>>>
208208
```
209209

210-
If you change the the square brackets (`[`,`]`) to curly braces (`{`, `}`), you get something known as a set comprehension.
210+
If you change the square brackets (`[`,`]`) to curly braces (`{`, `}`), you get something known as a set comprehension.
211211
This gives you unique or distinct values.
212212

213213
For example, this determines the set of unique stock names that appear in `portfolio`:

0 commit comments

Comments
 (0)