2015-07-28 18:22:12 -04:00

22 lines
565 B
Markdown

Python Dictionaries In Depth
============================
Model these people as [dictionaries](https://docs.python.org/3/library/stdtypes.html#dict):
Name: Michaela
Gender: Female
Height in cm: 178
Job: Visual Artist
Parents: Aimee, Louis
Pets: Fezzy, Rufus
Name: Steve
Gender: Male
Height in cm: 160
Job: Graphic Designer
Nickname: The Cow
Friends: Stephen, Stephanie, Stefan
Jobs: Graphic Designer at Acme Corp, Bartender at Banter
Print out the keys and values of each person object. Look into iterating over dictionaries in Python