Dictionary Python
<p>Feb 19, 2013 10:30 PM
 
see Sean's program  Plate Numbers... it uses
Numdict
 
curly braces enclose {key1 : value1 ,  key2 : value2 , etc}
 
so, eg  Numdict[0]  searches for key1 = 0 and returns the value corresponding to it.
 
Famdict = {'father' : 'bob', 'son' : 'sean'}
 
Famdict['son]  returns 'sean'</p>