PythonSkills.org
Courses
Exercices
Challenges
Quizzes
Open console
0 points
Get started
Loading...
All Challenges
Loading...
Loading...
Extract middle substring
Write a function that takes a string and returns a substring from the third to seventh characters, inclusive.
Intermediate
Hint
sample input: "abcdefg"
sample output: cdefg
Run Tests
Clear Tests
Test Output:
Show Solution
Show Code
Loading...
Not Solved
Next challenge: Get last four characters