第41287题 判断题
在下列Python代码中,如果N和M均输入大于0的整数,则可以取得正整数N的从右到左第M位置的数。个位数为第1位置,M在N的位数范围内。( )
N = int(input("请输入正整数:"))
M = int(input("从右到左第几位?"))

print(N // (10 ** (M - 1)) % 10)
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
知识点:
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析