Armen Vartan cd22ae1a31 py 2
2014-12-01 17:20:49 -05:00

22 lines
504 B
Markdown

Python Dictionaries In Depth
=======================
Model these people as dictionaries:
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