第17647题 单选题
计算给定Python程序段执行后的输出结果

有如下Python程序段:

lista=[1,2,3,4,5,6,7,8,9,10]
s=0
for i in range(0,len(lista),2):
    s=s+lista[i]
print("s=",s)

执行程序段后,输出的结果为?

{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析