Skip to content

Commit 78472f5

Browse files
authored
Merge pull request DjangoGirls#989 from Tichau/patch
Add missing command line results
2 parents 40b6658 + f64a677 commit 78472f5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

en/python_introduction/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@ To delete something from your list you will need to use __indexes__ as we learne
322322
>>> print(lottery[0])
323323
59
324324
>>> lottery.pop(0)
325+
59
325326
>>> print(lottery)
326327
[42, 30, 19, 12, 3, 199]
327328
```
@@ -408,6 +409,7 @@ You can use the `pop()` method to delete an item in the dictionary. Say, if you
408409
{% filename %}command-line{% endfilename %}
409410
```python
410411
>>> participant.pop('favorite_numbers')
412+
[7, 42, 92]
411413
>>> participant
412414
{'country': 'Poland', 'favorite_language': 'Python', 'name': 'Ola'}
413415
```

0 commit comments

Comments
 (0)