第13047题 单选题
为使两段Python程序实现相同功能,程序段1划线处应填入的代码是?
#程序段1
s=0 
t=1 
while t<=6:
    s=s+t
    _______________
print(s)
#程序段2
s=0
for t in range(1,7,2):
    s=s+t
print(s)
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析