单项选择题
c=[1]deffore():c.append(2)fore()print(c)输出结果是()
A.[1,2]
B.[1,2,3]
C.[1,2,3,4]
D.程序异常
点击查看答案
相关考题
-
单项选择题
b=10def index():b=5index()print(b)输出结果是()
A.10
B.5
C.0
D.程序异常 -
单项选择题
{’h’:’hello’}.pop(’h’)的值为()
A.h
B.e
C.hello
D.o -
单项选择题
{1:2}.get(1)的返回值是()
A.1
B.2
C.3
D.4