x = {'foo':1} print x print x['foo'] x['foo'] = None print x print x['foo']