第41111题 单选题
下面Python代码用于求正整数1到N之间含有3的数的个数,横线处应填入代码先后是( )。
cnt = 0
N = int(input("请输入正整数:"))
for i in range(1,N):
    while i != 0:
        if i % 10 == 3:
            cnt +=1
            __________
        else:
            __________
print(cnt)
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
知识点:
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析