摘要: 实验任务3: 1 def is_valid(a): 2 if len(a)==18 : 3 if a.isdigit() or( a[:-1].isdigit() and a[-1]=='X'): 4 return True 5 else: 6 return False 7 else: 8 retu 阅读全文
posted @ 2022-05-19 20:38 暮渎 阅读(23) 评论(1) 推荐(0) 编辑