String format_map() in python takes dictionary as input and returns its key values in output.
t={‘a’:’sky’,’b’:’overcast’}
t is a dictionary.
print(‘The {a} is {b}’.format_map(t))
Output: The sky is overcast
It had printed key values of dictionary in place of {a},{b}.
How to use Str.format_map() in Python:
[…] 10.Str.Format_map:It takes values as dictionary and returns formatted version of string. […]