Tweeted By @python_tip
If your data is in a dictionary, perhaps from a JSON file, then str.format_map() is your best friend
— Daily Python Tip (@python_tip) November 16, 2018
Pretty way
print('{name} works at {status} {company}'.format_map(info))
Less pretty
print(f'{info["name"]} works at {info["status"]} {info["company"]}')https://t.co/HO9ixnRsrf