The Mirror Words
A easy Python interview practice problem on DataDriven. Write and execute real python code with instant feedback.
- Domain
- Python
- Difficulty
- easy
- Seniority
- L3
Problem
We're cleaning up a line of space-separated text where each word needs its letters flipped end to end. Return the line with every word reversed but left in its original position.
Summary
Each word looks back at itself.
Practice This Problem
Solve this Python problem with real code execution. DataDriven runs your Python code in a real environment and checks it automatically.