<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def sub_template(template,template_tag,substitution):
    '''make a substitution for a template_tag in a template
    '''
    template = template.replace(template_tag,substitution)
    return template