Schleifen Sie durch den Schlüssel und die Werte eines Diktats in Python
a_dict = {"color": "blue", "fruit": "apple", "pet": "dog"}
# Will loop through the dict's elements (key, value) WITHOUT ORDER
for key, value in a_dict.items():
print(key, '->', value)
Unsightly Unicorn