Reverse a string without changing the position of special characters.
Treat letters and digits as reversible characters. Every other character, including spaces and punctuation, must remain at its original index.
Implement def reverse_string(s):, which accepts a string and returns the transformed string. The input contains ASCII letters, digits, and special characters.
def reverse_string(s):