Dictionaries and keys

finishing up Alice and word count (exercise 7):
Screen Shot 2014-05-14 at 10.20.05 AM

from the python tutorial: tutorial

all of these values will set up a dictionary

a = dict(one=1, two=2, three=3)
b = {'one': 1, 'two': 2, 'three': 3}
c = dict(zip(['one', 'two', 'three'], [1, 2, 3]))
d = dict([('two', 2), ('one', 1), ('three', 3)])
e = dict({'three': 3, 'one': 1, 'two': 2})
a == b == c == d == e

creating our dict:
Screen Shot 2014-05-14 at 11.19.52 AM

adding to it:
Screen Shot 2014-05-14 at 11.21.18 AM

from the tutorial:
Screen Shot 2014-05-14 at 11.49.37 AM