Reverse a string
Take a string and reverse it. For example, "asdf" becomes "fdsa".
Reverse a string
You are encouraged to solve this task according to the task description, using any language you may know.
You are encouraged to solve this task according to the task description, using any language you may know.
Python
Optimized for user input
raw_input()[::-1]
Already known string
string[::-1]