Merge branch 'master' of https://github.com/akuli/python-tutorial · codingjin/python-tutorial@32a6259 · GitHub
Skip to content

Commit 32a6259

Browse files
committed
2 parents 7f3972c + fdd3d7e commit 32a6259

3 files changed

Lines changed: 22 additions & 8 deletions

File tree

‎basics/answers.md‎

Lines changed: 7 additions & 2 deletions

‎basics/dicts.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,10 @@ Dictionaries have some similarities with lists. For example, both
111111
lists and dictionaries have a length.
112112

113113
```python
114-
>>> len(names_and_pets) # contains two elements
115-
2
116-
>>> len(favorite_pets) # contains two key:value pairs
117-
2
114+
>>> len(names_and_pets) # contains three elements
115+
3
116+
>>> len(favorite_pets) # contains three key:value pairs
117+
3
118118
>>>
119119
```
120120

‎basics/lists-and-tuples.md‎

Lines changed: 11 additions & 2 deletions

0 commit comments

Comments
 (0)