第25498题 单选题
补全Python求N所有降序排列因数的while循环条件

现有Python代码用于求N的所有降序排列因数,如输入12,预期输出需修正为12,6,4,3,2,1。现有代码如下:

N = int(input())
i = N
while ______________:
    if N % i == 0:
        print(i, end = ",")
    i -= 1
print(1)
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析