【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.

浙公网安备 33010602011771号