第16686题 程序题
补全Python程序求解满足特定余数条件的兔子数量

有一群兔子,4个4个地数余1个,5个5个地数余2个,9个9个地数余7个,试问兔子有多少只?(请将程序补充完整)

def ①:
    while ②:
        if n%5 == 2:
            break
        n += 9
    while True:
        if ③:
            break
        n += 45
    print(n)

f(16)
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
编辑模式
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析