2022年5月19日
摘要: task3 1 def is_valid(x): 2 if len(x)==18: 3 if x.isdigit() or( x[:-1].isdigit() and x[-1]=='X'): 4 return True 5 else: 6 return False 7 else: 8 return 阅读全文
posted @ 2022-05-19 10:12 VolcanX 阅读(15) 评论(1) 推荐(0) 编辑