第25730题 单选题
Python实现整数逆序的代码空缺处应填入的代码是?

以下Python代码执行后输出整数的逆序数,如输入123则输出321,输入120则输出21。请选择横线处应先后填入的代码:

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