第40842题 单选题
用 1 元、2 元、5 元硬币凑出 10 元,且硬币总数不超过 5 枚。以下程序计算符合要求的组合个数,横线处应填写的代码是?( )
count = 0
for one in range(0, 11):
    for two in range(0, 6):
        for five in range(0, 3):
            total_money = one + two * 2 + five * 5
            total_coins = one + two + five
            if ________:
                count += 1
print(count)
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
知识点:
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析