PythonSkills.org
Courses
Exercices
Challenges
Quizzes
Open console
0 points
Get started
Loading...
All Challenges
Loading...
Not Solved
Extract characters between two specific characters
Write a function that extracts and returns the substring located between two specific characters in a given string. If either character is missing, return None.
Advanced
Hint
sample input: "a(b)c", "(", ")"
sample output: b
Run Tests
Clear Tests
Test Output:
Show Solution
Show Code
Loading...
Next challenge: Extract even indexed characters