Run
my_dict = { 'foo':12, 'bar':14 } for item in my_dict.items(): print(f"key : {item[0]}, value : {item[1]}")
Output