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


questions about dictionaries

Here are questions you can answer after going through this chapter


the chapters


code from the chapter

Do you want to see all the CODE I typed in these chapter?


what is next?


rate pumping python

If this has been a 7 star experience for you, please CLICK HERE to leave a 5 star review of pumping python. It helps other people get into the book too