At Stripe, a text-processing utility needs a function that reverses a string. Given a string s, return a new string with the characters of s in reverse order.
ss, but in reverse orderYou should implement a function that handles letters, digits, spaces, punctuation, and Unicode characters as ordinary characters.
Example 1
s = "hello""olleh"Example 2
s = "a b!""!b a"0 <= len(s) <= 10^5s may contain uppercase and lowercase English letters, digits, whitespace, punctuation, and Unicode characters