LearnPy Hub
← Strings problems
Easy

Reverse a String

Read a word and print it reversed.

Input

One word.

Output

The reversed word.

Sample 1

Input
hello
Output
olleh

Sample 2

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