Skip to content

Commit f64a677

Browse files
authored
Tiny change in dictionary.pop
dictionary.pop method returns the poped value.
1 parent 2df07a8 commit f64a677

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

en/python_introduction/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,7 @@ You can use the `pop()` method to delete an item in the dictionary. Say, if you
408408
{% filename %}command-line{% endfilename %}
409409
```python
410410
>>> participant.pop('favorite_numbers')
411+
[7, 42, 92]
411412
>>> participant
412413
{'country': 'Poland', 'favorite_language': 'Python', 'name': 'Ola'}
413414
```

0 commit comments

Comments
 (0)