<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def stories(self, task, params={}, **options):
 """Returns a compact representation of all of the stories on the task. Parameters task : {Id} The task containing the stories to get. [params] : {Object} Parameters for the request """

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