fork download
  1. import re
  2. email = 'anyemail£()@gmail.com'
  3. if re.search("[~!#$%^&*()_+{}:;\']", email):
  4. print("Test 7 - Failed! The email has invalid characters!")
  5. test7 = "failed"
  6. else:
  7. print("Test 7 - Passed! The email has no invalid characters!")
  8. test7 = "passed"
Success #stdin #stdout 0.01s 8968KB
stdin
Standard input is empty
stdout
Test 7 - Failed! The email has invalid characters!