Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d55d6f7

Browse files
committed
Chapter 2.6 - Fixed typo in exercise 2.22
1 parent 92a8a73 commit d55d6f7

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)