<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_subtask(self, task, params={}, **options):
 """Creates a new subtask and adds it to the parent task. Returns the full record for the newly created subtask. Parameters task : {Id} The task to add a subtask to. [data] : {Object} Data for the request """

        path = "/tasks/%s/subtasks" % (task)
        return self.client.post(path, params, **options)