def choose_gender(self, arg):
        """The player is choosing a gender for their new character.
        
        PREV STATE: self.create_password
        NEXT STATE: This state will repeat until a gender is chosen, then change
                    to self.add_email
        """
        if arg[0].lower() == 'mfn':
            genders = {'m': 'male', 'f': 'female', 'n': 'neutral'}
            self.save['gender'] = genders.get(arg[0])
            self.player.update_output([
                'If you add an e-mail to this account, we can help you reset ' +\
                'your password if you forget it (otherwise, you\'re out of luck ' +\
                'if you forget!).',
                'Would you like to add an e-mail address to this character?',
                '(Y/N): '
            ])
            self.next_state = self.add_email
        else:
            self.player.update_output('Please choose from male, female, or neutral: ')
dataset/ETHPy150Open shinymud/ShinyMUD/src/shinymud/modes/init_mode.py/InitMode.choose_gender/operator `in` -> `==`