def choose_gender(self, arg):
        if arg[0].lower() in '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: ')
The player is choosing a gender for their new character.
dataset/ETHPy150Open shinymud/ShinyMUD/src/shinymud/modes/init_mode.py/InitMode.choose_gender