If your data is in a dictionary (according to your edited question) then you can use the dictionary as a parameter for format.
data = {'first_name': 'Monty',
'last_name': 'Python'}
print('Hello {first_name}'.format(**data))
print('Hello {last_name}'.format(**data))