oops · CodingKrishna/python-tutorial@11a03c6 · GitHub
Skip to content

Commit 11a03c6

Browse files
committed
oops
2 parents 7f3972c + fdd3d7e commit 11a03c6

4 files changed

Lines changed: 25 additions & 9 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/docstrings.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,9 @@ def do_hello():
150150

151151
Then we can import it and call help on it:
152152

153-
```python
153+
[comment]: # (github screws up syntax highlighting here)
154+
155+
```
154156
>>> import test
155157
>>> help(test)
156158
Help on module testie:

‎basics/lists-and-tuples.md‎

Lines changed: 11 additions & 2 deletions

0 commit comments

Comments
 (0)