Python Challenge · Learn Python 3
Reverse a String
Read a single line of text and print it reversed.
Example: hello → olleh
Example 1
Input
hello
Expected Output
olleh
solution.py
Run the examples to test your code, then Submit to run all hidden tests.