Challenges easy Reverse a String 50 XP
Python Challenge · Learn Python 3

Reverse a String

Read a single line of text and print it reversed.
Example: helloolleh

Example 1

Input
hello
Expected Output
olleh
solution.py
Run the examples to test your code, then Submit to run all hidden tests.
🚀

Create a free account

Sign up free to run and submit solutions, earn points, and unlock badges.

Create Free Account

Already have one? Log in