fill_template(template, values) that takes a template string containing {key} placeholders and a dictionary values, and returns the template with every placeholder replaced by the string form of its corresponding value.template = 'Hello {name}, you have {count} new messages.', values = {'name': 'Aman', 'count': 3}'Hello Aman, you have 3 new messages.'
'{name}' becomes 'Aman' and '{count}' becomes '3'.
Loop over `values.items()` and call `template.replace('{' + key + '}', str(val))` for each one.