First, some basics about Python dictionaries. Python dictionaries map a key to a value, and when you have the key, it's fast to look up the value. The syntax to create dictionaries looks like this d = {'A': 1, 'B': 2, 'C': 5} Then, you can look up i...
Learn Python by making music!