题目内容

a = [1, 4, 3, 2]a[2]= "nice"print(a)程序的输出结果是

A. [1,"nice",3,2]
B. [1,"nice",4,3,2]
C. [1,4,"nice",2]
D. [1,4,"nice",3,2]

查看答案
更多问题

a = [1, 2, 3, 4]a.pop()print(a)print(a.pop(-2))print(a)a.pop(0)print(a)以上程序的输出结果是

A. [1, 2, 3]2[1, 3][3]
B. [1,2,3,4]3[1,2,3,4][1,2,3,4]
C. [1,2,3]3[1,2,4][2,3,4]
D. [1, 2, 3]2[1, 3]3

a = [1, 3, 4, 2, 5, 2]a.remove(2)print(a)

A.[1, 3, 4, 5, 2]
B. [1,3,4,5]
C. [1,4,2,5,2]
D. [1,3,2,5,2]

a=[1,2,3,4]*4print(a)print(a.index(4,4,9))以上程序的输出结果是

A. [1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4,1,2,3,4]4
B. [1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4,1,2,3,4]7
C. [4,8,12,16]ValueError: 4 is not in list
D. [4,8,12,16]0

下列药物,在心源性哮喘中,可选用的有( )

A. 氨茶碱
B. 肾上腺素
C. 哌替啶
D. 呋塞米
E. 西地兰

答案查题题库