The function removes every second character from a given string.

[CODE]:
```python
def f(x):
    return x[::2]
```

This code uses slicing in Python to select every second character from the input string `x` and returns the modified string.