demo_dictionary_loop_items.py:
thisdict = { "brand": "Ford", "model": "Mustang", "year": 1964 } for x, y in thisdict.items(): print(x, y)
➜ begtut>python demo_dictionary_loop_items.py
brand Ford
model Mustang
year 1964