Reverse a String

Write a function to reverse a string.

Code Editor

• reverse_a_string.py
Time: 1:00
Python UTF-8
Saved Ln 1, Col 1

Console

Output
Press Cmd/Ctrl + Enter to run tests
Code output and test results will appear here...