第15384题 单选题
下列实现十进制转2~16进制的Python代码中,横线处应填入的正确代码是?
N = int(input("请输入正整数: "))
M = int(input("请输入转换进制,不能大于16: "))
Alpha="0123456789ABCDEF"
rst = "" #保存转换结果
while N != 0:
    Remainder = N % M #Remainder表示余数
    _________________________
    N = N // M
print(rst)
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析