Learning About Python Dictionaries and Musical Markov Chains
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...
musicalpython.hashnode.dev2 min read