def delete_slide(presentation, index):
    """
    Delete a slide from Presentation.
    """
    xml_slides = presentation.slides._sldIdLst
    slides = list(xml_slides)
    xml_slides.remove(slides[index])
