执行下面的操作后,输出的结果是多少?()lst1=[3,4,5,6]lst2=lst1lst1[2]=100print(lst2)
A. [3,4,5,6]
B. [3,4,100,6]
C. [3,100,5,6]
D. [3,4,100,5,6]
查看答案
Python语句s={'a', 1, 'b', 2}; print(s[b])的输出结果是哪一项?()
A. 2
B. 1
C. 'b'
D. 语法错误
以下代码的输出结果是()。ls = ["apple", "red", "orang"]def funC(a):ls.append(a)returnfunC("yellow")print(ls)
A. [ ]
B. ["apple", "red", "orang"]
C. ["yellow"]
D. ["apple", "red", "orang", "yellow"]
python3解释器执行 {2, 3, 4}.issubset({2, 3, 4})的结果为___
python3解释器执行 d = {1:1,2:1}后查看d的结果是___。