【Python】之remove() method

The remove() method deletes only the first occurrence of the value you specify. If there’s
a possibility the value appears more than once in the list, you’ll need to use a loop
to make sure all occurrences of the value are removed. You’ll learn how to do this in
Chapter 7.
posted @ 2021-11-17 14:22  易点灵通  阅读(88)  评论(0)    收藏  举报