'Generates Select Option CAPA problem XML'

def _get_problem_select_text(self, name, items, correct):

    items_text = ','.join(["'{0}'".format(item) for item in items])
    return textwrap.dedent('\n                                <problem>\n                                                <p>{name}</p>\n                                                <optionresponse>\n                                                        <optioninput    label="{name}"    options="({options})"    correct="{correct}"></optioninput>\n                                                </optionresponse>\n                                </problem>').format(name=name, options=items_text, correct=correct)
