第13493题 单选题
Python实现总金额对应最少货币数币种组成的代码横线处应填入的正确选项是?

某货币由5元、2元和1元组成,输入货币总金额,计算出总货币数最少的币种组成,现有代码如下:

N = int(input())
M5 = N // 5
M2 = ______________
M1 = ______________
print(f"5*{M5}+2*{M2}+1*{M1}")
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析