<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def create(self, request, desc, files, public=False):
 """Creates a gist Arguments: request: an initial request object desc: the gist description files: a list of files to add to the gist public: a flag to indicate whether the gist is public or not Returns: The URL to the newly created gist. """

        request.data = json.dumps({
                "description": desc,
                "public": public,
                "files": files,
                })
        return self.send(request).json()['html_url']