Python语句s={'a', 1, 'b', 2}; print(s[b])的输出结果是哪一项?()
查看答案
以下代码的输出结果是()。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的结果是___。
现有 d = {}, python3解释器执行d['a'] = 'b'后d的结果是___。