PythonSkills.org
Courses
Exercices
Challenges
Quizzes
Open console
0 points
Get started
Loading...
All Challenges
Loading...
Loading...
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
Loading...
Run Tests
Clear Tests
Test Output:
Show Solution
Show Code
Not Solved
Next challenge: Extract even indexed characters