LearnPy Hub
← Strings problems
Easy

Reverse a Word

Read a word and print it backwards using slicing.

Input

One word.

Output

One word.

Sample 1

Input
Python
Output
nohtyP

Sample 2

Input
level
Output
level
solution.py
Output appears here
Hints
Reverse a Word · Python practice problem · LearnPy Hub