PythonSkills.org
Courses
Exercices
Challenges
Quizzes
Open console
0 points
Get started
Loading...
All Challenges
Loading...
Not Solved
Insert string in the middle
Write a function that takes two strings, a base string and an insert string, and returns the base string with the insert string added at its midpoint.
Intermediate
Hint
sample input: "hello world", " Python"
sample output: hello Python world
Loading...
Run Tests
Clear Tests
Test Output:
Show Solution
Show Code
Next challenge: Add comma to large number