โ
Test Writingยทbeginnerยทโฑ๏ธ 20โ35mยทโญ 125 XP
M-064Test the Email Validator
Description
Write test cases for Nebula Corp's email validation function.
Target Function
import re
def is_valid_email(email):
return bool(re.match(r'^[^\s@]+@[^\s@]+\.[^\s@]+$', email))Intended Behavior
Returns true if the input is a valid email address, false otherwise.
Related Lessons
Click Run / Check to validate your solution