Exercise 8 · Chapter: For LoopsOptional+50 XP
Reverse Word
Read a word and print it reversed.
Example:
Input:
hello
Output:
olleh
Hint: Build a new string by adding letters from the end.
Need a hint?
3 available · costs 5 XP each
python
Output
Run your code to see the output here.