Page 192 -
P. 192

hashes and databases



                     Test Drive





           Take the code from the previous exercise and use it to create a new file in
           IDLE. Call your program scores_hash.py. When you’re ready, press
           F5 to run your program.





















                                                  Cool... each score is now associated
                                                  with the correct surfer name.
























           Great! Your program now uses a data structure that allows
           you to associate two related pieces of data together.





                                                                                       you are here 4    157
   187   188   189   190   191   192   193   194   195   196   197