摘要: def is_valid(a): if len(a)==18 : if a.isdigit() or( a[:-1].isdigit() and a[-1]=='X'): return True else: return False else: return False with open('D:/ 阅读全文
posted @ 2022-05-23 21:16 琦哲 阅读(13) 评论(3) 推荐(0) 编辑