x=[[]]*3x[0].append(1)print(x)上述代码的输出结果是____。
举一反三
- x=([1],[2]) x[0].append(1) print(x) 上述代码的输出结果是____
- x=[[]] x[0].append(1) print(x) 上述代码的输出结果是____
- 中国大学MOOC: x=[[]]*3x[0].append(1)print(x)上述代码的输出结果是____。
- 下面代码的输出结果是哪个选项?x = 0 if x < 4: x = x + 1 print("x is", x) A: x is 0 B: x is 1 C: x is 2 D: x is 3 E: x is 4
- 以下代码输出结果是:x={'a':1,'b':2,'b':3}print(x)