Loading...

Validate Email

A medium Python interview practice problem on DataDriven. Write and execute real python code with instant grading.

Domain
Python
Difficulty
medium

Problem

Before loading user-submitted records we run a lightweight email validation pass. Return True if the string has a valid basic email format: exactly one at-sign with non-empty text on both sides, and a dot somewhere after the at-sign with characters on both sides.

Practice This Problem

Solve this Python problem with real code execution. DataDriven runs your Python code in a sandboxed Docker environment and grades it instantly.