Run
dict1 = { "key1": 10, "key2": 20, "key3": 30, "key4": 40} print(dict1) for key, value in dict1.items(): print(key, value)
Output