第14667题 单选题
给定Python列表操作程序,执行后下列哪个表达式的值为1?

Python程序段如下:

n = 3
m = 2
a = [[0 for i in range(n)] for j in range(m)]
a.append([0, 0, n-m])
a.insert(-1, [n for i in range(n)])
print(a)
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析