第12171题 单选题
Python列表切片代码scores[1::2]的输出结果是哪一项?

小阳使用Python处理学生成绩,用列表存储成绩,尝试提取从0开始计数的偶数位置的成绩,给出代码如下:

scores=[96, 87, 72, 66, 99]
print(scores[1::2])
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析