单选题

Python赋值语句是 lstA = [6, 7, 8, 9] ,删除值为8的元素,错误的语句是(     )。

A

lstA.remove(8)

B

lstA.pop(2)

C

del lstA[2]

D

lstA.del[2]

赣ICP备20007335号-2