๐Ÿš€ Everything is free โ€” help us improve! Submit feedback and shape the platform.
โœ…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