code: def wizard_font(text):
      
      text_length = len(text)
      if text_length <= TEXT_XLARGE_THRESHOLD:
          font = random.choice(XLARGE_WIZARD_FONT)
      elif text_length > TEXT_XLARGE_THRESHOLD and text_length <= TEXT_LARGE_THRESHOLD:
          font = random.choice(LARGE_WIZARD_FONT)
      elif text_length > TEXT_LARGE_THRESHOLD and text_length <= TEXT_MEDIUM_THRESHOLD:
          font = random.choice(MEDIUM_WIZARD_FONT)
      else:
          font = random.choice(SMALL_WIZARD_FONT)
      return font
docs: Check input text length for wizard mode.
  
      :param text: input text
      :type text:str
      :return: font as str