what is a dictionary?
A dictionary also known as a Mapping is a way to keep key-value pairs, the values can be any Python object. I add tests to see which of the Python basic data types I can use as keys .
I think this is the most important data structure because it can hold all the other data structures, same as with lists and tuples but with more. In programming I have had to work with JSON which I can read and write as dictionaries
the chapters
code from the chapter
what is next?
you know
Would you like to test list comprehensions? They are a quick way to make lists
rate pumping python
If this has been a 7 star experience for you, please leave a 5 star review. It helps other people get into the book too