PythonSkills.org
Courses
Exercices
Challenges
Quizzes
Open console
0 points
Get started
Loading...
All Challenges
Loading...
Loading...
Reverse words in a sentence
Write a function that takes a sentence and returns the sentence with each word individually reversed, maintaining their original order.
Intermediate
Hint
sample input: "hello world"
sample output: olleh dlrow
Loading...
Run Tests
Clear Tests
Test Output:
Show Solution
Show Code
Not Solved
Next challenge: Reverse second half of string