<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def calculate(price, to_code, **kwargs):
 """Converts a price in the default currency to another currency"""

    qs = kwargs.get('qs', get_active_currencies_qs())
    kwargs['qs'] = qs
    default_code = qs.default().code
    return convert(price, default_code, to_code, **kwargs)