Write a regex that validates strings as scientific notation numbers.
Constraints
Example
>>> is_scientific_notation('1e10')
True
>>> is_scientific_notation('-1.2E-3')
True
>>> is_scientific_notation('.5e2')
True
>>> is_scientific_notation('1e')
False
>>> is_scientific_notation('1.2')
False
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints