How would you reverse a string without using built-in functions?
Implement the function below without using slicing, reversed(), .reverse(), or .join(). Preserve all characters, including spaces, punctuation, and repeated characters.
reverse_string(s) receives a string and returns a new string containing the characters of s in reverse order.
s may contain letters, digits, spaces, punctuation, and Unicode charactersdef reverse_string(s):