摘要: #task3.py def is_valid(x): if len(x) != 18: return False else: for i in x: try: i = int(i) except: if ord(i) != ord('X'): return False return True wit 阅读全文
posted @ 2022-05-24 18:11 bamboosama 阅读(11) 评论(4) 推荐(0) 编辑