Write a simple function on the whiteboard to reverse a string or filter an array.
Implement the string-reversal option. Given a string s, return a new string containing the same characters in reverse order. Preserve spaces, punctuation, letter case, and all character occurrences.
Use the signature def reverse_string(s):. The input is a string, and the output must be a string.
def reverse_string(s):