<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def find_best_rsquared(list_of_fits):
 """Return the best fit, based on rsquared"""

        res = sorted(list_of_fits, key=lambda x: x.rsquared)
        return res[-1]