code: def create_question(self, question, type=None, **kwargs):
          
          if not type:
              return Question(question, **kwargs)
  
          if type == "choice":
              return ChoiceQuestion(question, **kwargs)
  
          if type == "confirmation":
              return ConfirmationQuestion(question, **kwargs)
docs: Returns a Question of specified type.