<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_post(self, post_type, post_folders, post_subject, post_content, is_announcement=0, bypass_email=0, anonymous=False):
 """Create a post It seems like if the post has `<p>` tags, then it's treated as HTML, but is treated as text otherwise. You'll want to provide `content` accordingly. :type post_type: str :param post_type: 'note', 'question' :type post_folders: str :param post_folders: Folder to put post into :type post_subject: str :param post_subject: Subject string :type post_content: str :param post_content: Content string :type is_announcement: bool :param is_announcement: :type bypass_email: bool :param bypass_email: :type anonymous: bool :param anonymous: :rtype: dict :returns: Dictionary with information about the created post. """

        params = {
            "anonymous": "yes" if anonymous else "no",
            "subject": post_subject,
            "content": post_content,
            "folders": post_folders,
            "type": post_type,
            "config": {
                "bypass_email": bypass_email,
                "is_announcement": is_announcement
            }
        }

        return self._rpc.content_create(params)