Dictionaries: Look Things Up
A list finds items by position. A dictionary finds them by a name. If you want the phone number of Ravi, you would like to ask for Ravi, and not for position 7. In this course you make dictionaries of keys and values, add, change and remove pairs, look things up without errors, go through a dictionary with a loop, and count with it. You learn to put a dictionary inside a dictionary, to keep a list as a value, and to group items. A tiny shop with prices, stock and a basket is the project at the end. The practice runs your code on real data and tells you which results are wrong.