List in Python w3schools
Ngày đăng:
28/12/2021
Trả lời:
0
Lượt xem:
66
Python List remove() MethodList Methods ExampleRemove the "banana" element of the fruit list:
fruits = ['apple', 'banana', 'cherry']
Try it Yourself »
Definition and UsageThe remove() method removes the first occurrence of the element with the specified value. Syntax
Parameter Values
List Methods |