第41203题 判断题
下面的Python代码可以用于判断正整数N的位数(即几位数,如123是3位数,12为2位数)。( )
N = int(input())
i = 1
while True:
    if N % (10 ** i) == N:
        print(f"{N}是{i}位数")
        break
    i += 1
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
知识点:
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析