<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_user(username, uid, system=False, no_login=True, no_password=False, group=False, gecos=None):
 """ Creates a new user with a specific id. :param username: User name. :type username: unicode :param uid: User id. :type uid: int or unicode :param system: Creates a system user. :type system: bool :param no_login: Disallow login of this user and group, and skip creating the home directory. Default is ``True``. :type no_login: bool :param no_password: Do not set a password for the new user. :type: no_password: bool :param group: Create a group with the same id. :type group: bool :param gecos: Provide GECOS info and suppress prompt. :type gecos: unicode """

    sudo(adduser(username, uid, system, no_login, no_password, group, gecos))