Your question is Reverse Characters in a String. Start with the requirements on the right.
Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.
At Slack, a text utility needs to reverse user-provided strings for formatting tests. Write a function that takes a string and returns a new string with its characters in reverse order.
ss in reverse orderYour solution should handle letters, digits, spaces, punctuation, and Unicode characters as regular characters.
def reverse_string(s):