摘要: task3.py 1 def is_valid(m): 2 if len(m)==18 and m.isdigit(): 3 return 'True' 4 elif len(m)==18 and m[-1]=='X': 5 return 'True' 6 else: 7 return 'False 阅读全文