The function removes repeated consecutive characters from the input string.

[CODE]: 
```python
def approx_function(input_string):
    result = []
    prev_char = None
    for char in input_string:
        if char != prev_char:
            result.append(char)
            prev_char = char
    return ''.join(result)
```