Write a function that reverses a string. Explain your thought process.
Implement reverse_string(s), which accepts a string and returns a new string containing the characters of s in reverse order. Preserve spaces, punctuation, letter case, and Unicode characters.
The input may be empty. Do not use a built-in string-reversal method such as slicing with a negative step.
s may contain letters, digits, spaces, punctuation, and Unicode charactersdef reverse_string(s):