def is_valid_email(addr): if re.match(r'^[0-9a-zA-Z.]+@+[0-9a-zA-Z]+.com$',addr): print('ok') return True else: print('no')
Sign in to make a reply
L刺S客C
def is_valid_email(addr): if re.match(r'^[0-9a-zA-Z.]+@+[0-9a-zA-Z]+.com$',addr): print('ok') return True else: print('no')