<filename>advanced-examples-eng/kolam2.py<gh_stars>1-10
with open("kolam-moodle.xml", "rt") as fin:
    with open("kolam-shuffled-moodle.xml", "wt") as fout:
        for line in fin:
            fout.write(line.replace('MULTICHOICE:', 'MULTICHOICE_VS:').replace('MULTICHOICE_H:', 'MULTICHOICE_HS:'))

