摘要: def is_valid(x): if len(x)==18: if x.isdigit() or( x[:-1].isdigit() and x[-1]=='X'): return True else: return False else: return False with open('data 阅读全文
posted @ 2022-05-23 22:55 一壶花茶 阅读(4) 评论(0) 推荐(0) 编辑