
    Write a function that converts a student's enrollment date from the database format (yyyy-mm-dd) to the school district's standard reporting format (dd-mm-yyyy) to ensure consistent tracking of student attendance patterns and dropout risk indicators.
    

    
import re

def change_date_format(dt):
    """
    Write a function that converts a student's enrollment date from the database format (yyyy-mm-dd) to the school district's standard reporting format (dd-mm-yyyy) to ensure consistent tracking of student attendance patterns and dropout risk indicators.
    

    """
import re

def change_date_format(dt):
    """
    Write a function that converts a student's enrollment date from the database format (yyyy-mm-dd) to the school district's standard reporting format (dd-mm-yyyy) to ensure consistent tracking of student attendance patterns and dropout risk indicators.
    

    """
    return re.sub('(\\d{4})-(\\d{1,2})-(\\d{1,2})', '\\3-\\2-\\1', dt)