my_dict = {"fst": 1, "snd": 2} "formatted string {fst}{snd}".format(**my_dict)