def recover_spaces( s:str ) -> str:
    """
    Replace all underscores ('_') in a string with spaces
    """
    s2 :str= '' 
    for letter in s:
        if letter != '_':
            s2 += letter
        else:
            s2 += ' '
    return s2