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