题目内容
(请给出正确答案)
[单选题]
已知列表lst=[1,1,2,2,3,3],则以下表达式的值不为2的是()
A.lst.index(2)
B.lst.count(2)
C.lst.pop(2)
D.lst[2:3]
单选题,请选择你认为正确的答案:
提交
查看答案
![](https://lstatic.shangxueba.com/sxbcn/h5/images/tips_org.png)
A.lst.index(2)
B.lst.count(2)
C.lst.pop(2)
D.lst[2:3]
第1题
A.dic['小李']
B.dic.pop('小李')
C.dic['小明']+dic['小红']
D.del dic['小李']
第3题
A.dic['小林']=21
B.dic[0]=21
C.dic[小明]=21
D.dic.get('小林')
第4题
A.lst.remove(1)
B.lst.pop()
C.lst.remove(-1)
D.lst.pop(3)
第8题
A.date()+30
B.date()-{'1985-10-1}
C.ctod("10/01/85")
D.{~1985-10-1}+24
第10题
A.lst.reverse()
B.lst.sort(reverse=True)
C.sorted(lst,reverse=True)
D.lst[::-1]
为了保护您的账号安全,请在“赏学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!