请总结以下的python程序功能，用1-2句话概括。
```python
def beautify_data(data):
    """Beautify the input data by removing unnecessary characters and properly formatting it.
    """
    import re
    # Remove all non-alphanumeric characters except for spaces
    data = re.sub(r'[^a-zA-Z0-9\s]', '', data)
    # Convert the data to lowercase
    data = data.lower()
    # Remove all multiple spaces and replace with a single space
    data = re.sub(r'\s+', ' ', data)
    # Return the beautified data
    return data
```
user
该Python程序定义了一个函数`beautify_data`，用于通过移除非字母数字字符、转换为小写以及去除多余空格来美化输入数据。
assistant