Validate Email
A medium Python interview practice problem on DataDriven. Write and execute real python code with instant grading.
- Domain
- Python
- Difficulty
- medium
- Seniority
- L3
Problem
Return True when the input string has: exactly one '@' character with at least one character before it, at least one '.' somewhere after the '@' with at least one character before and after the dot. Otherwise return False.
Summary
Looks like an email. But is it?
Practice This Problem
Solve this Python problem with real code execution. DataDriven runs your Python code in a real environment and grades it automatically.