code: def print_prompt_values(values, message=None, sub_attr=None):
      
      if message:
          prompt_message(message)
  
      for index, entry in enumerate(values):
          if sub_attr:
              line = '{:2d}: {}'.format(index, getattr(utf8(entry), sub_attr))
          else:
              line = '{:2d}: {}'.format(index, utf8(entry))
  
          with indent(3):
              print_message(line)
docs: Prints prompt title and choices with a bit of formatting.