Discuss / Python / 难得交个作业

难得交个作业

Topic source

ColinShi2011

#1 Created at ... [Delete] [Delete and Lock User]

import re test = input() if re.match(r'\w[-\w.+]*@([A-Za-z0-9][-A-Za-z0-9]+.)+[A-Za-z]{2,14}',test): print('email is ok') else: print('email is failed')


  • 1

Reply