单项选择题

已知列表lst=[1,"a",2,"b",3,"c"],则表达式lst[-3]的值为()

A.b
B."b"
C.["b"]
D.[b]

<上一题 目录 下一题>
热门 试题

多项选择题
已知列表a=[1,2,3,4,5,6,7,8,9],则以下能获取列表中所有奇数的表示式有()

A.a[::2]
B.a[1::2]
C.a[-1::-2]
D.a[0::2]

多项选择题
已知列表lst=[1,2,3,4,5],则以下不能在列表最后添加新的元素6的表达式有()

A.lst.append(6)
B.lst.insert(-1,6)
C.lst.insert(5,6)
D.lst.insert(6)

相关试题
  • The main idea of the story is tha...
  • When we dream,().
  • Which of the following is true?(...
  • Why do some people often dream abo...
  • If the patient is rational and pos...