```
>>> template='Name: %(name)s \n Age: %%s' % {'name': 'Peter'}
>>> template % 34
'Name: Peter \n Age: 34'
>>>
```