第25556题 单选题
补全判断6位卡号是否符合简单校验规则的Python代码
N = int(input("请输入卡号:"))
order_num = N // 10 #获得前5位顺序号,假设录入一定为6位正整数
check_num = N % 10 #获得最后一位校验码
tnt = 0 #保存前5位数字之和
for i in range(5):
    __
    order_num //= 10
if __:
    print("符合校验规则")
else:
    print("不符合校验规则")
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析