How would you reverse a string in Python iteratively?
Implement the function below without using slicing or the built-in reversed() function. The input is a string, and the output must be a new string containing the characters in reverse order. Preserve spaces, punctuation, digits, and character case.
def reverse_string(s):