Skip to content

Commit 2df07a8

Browse files
authored
Tiny change in list.pop
list.pop method returns the poped value.
1 parent 048884d commit 2df07a8

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
@@ -321,6 +321,7 @@ To delete something from your list you will need to use __indexes__ as we learne
321321
>>> print(lottery[0])
322322
59
323323
>>> lottery.pop(0)
324+
59
324325
>>> print(lottery)
325326
[42, 30, 19, 12, 3, 199]
326327
```

0 commit comments

Comments
 (0)