<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def use_with(data, fn, *attrs):
 """Apply a function on the attributes of the data :param data: an object :param fn: a function :param attrs: some attributes of the object :returns: an object Let's create some data first:: Usage:: 'Alice,30,F' """

    args = [getattr(data, x) for x in attrs]
    return fn(*args)