Exerpad
🔥0
0 XP
Lv.1 Beginner
Log In

Reverse Word

Read a word and print it reversed.

Example:

Input:

text
hello

Output:

text
olleh

Hint: Build a new string by adding letters from the end.

💡 Hints

?Hint 1
🔒Hint 2
🔒Hint 3
python