The remove method removes the first occurrence of a value in a list. z = [7, 4, 3, 2, 3] z.remove(2) print(z).
確定! 回上一頁