第26672题 单选题
补全计算100到n之间水仙花数数量的Python程序

水仙花数是指一个 3 位数,它的每个数位上的数字的 3次幂之和等于它本身。下面是计算100到n之间水仙花数个数的Python程序,横线处应填写的代码是( )。

n = int(input("输入一个正整数N:"))
sum = 0
for i in range(100, n+1):
    _______________________
print(sum)
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析