def _write_prompt(self, output, question):
        """
        Outputs the question prompt.

        :param output: An Output instance
        :type output: Output

        :param question: The question to ask
        :type question: Question
        """
        message = question.question

        if isinstance(question, ChoiceQuestion):
            width = max(*map(self.len, [str(k) for k, _ in enumerate(question.choices)]))

            messages = [message]
            for key, value in enumerate(question.choices):
                messages.append((width, key, value) % ' [<info>%-*s</info>] %s')

            output.writeln(messages)

            message = question.prompt

        output.write(message)
dataset/ETHPy150Open sdispater/cleo/cleo/helpers/question_helper.py/QuestionHelper._write_prompt/swapped operands of `%`