dict_1 = {“name”: “KaiSarH”,
“url”: “https://blog.csdn.net/KaiSarH”}
str_2 = “博主:{name}, 博客地址:{url}”.format(**dict_1)
str_1 = “博主:{name}, 博客地址:{url}”.format(name=“KaiSarH”, url=“https://blog.csdn.net/KaiSarH”)
dict_1 = {“name”: “KaiSarH”,
“url”: “https://blog.csdn.net/KaiSarH”}
str_2 = “博主:{name}, 博客地址:{url}”.format(**dict_1)
str_1 = “博主:{name}, 博客地址:{url}”.format(name=“KaiSarH”, url=“https://blog.csdn.net/KaiSarH”)