Python String format_map

characters = {
  		      'Man':'Aragorn',
              'Dwarf':'Gimli'
             }

print('{Man} is a friend of {Dwarf}'.format(**characters))
Real Rabbit