this last example is equivalent to del numbers[1:4].
- 2. Lists and Tuples
- from Beginning Python: From Novice to Professional, 3rd Edition
- Publisher: Apress
- Released: March 2017
Does replacing a list item with empty list is really equivalent to deletion of those items
Share this highlighthttp://www.safaribooksonline.com/a/beginning-python-from/10549402/