You can also use the del keyword in Python to remove an element or slice from a list. numbers = [50, 60, 70, 80] del numbers[1:2] print(numbers) # [50, 70, ...
確定! 回上一頁