
Learn how to create dictionaries in Python with key-value pairs and perform lookups by key. Update dictionaries by adding entries and changing values, mapping sports to student counts.
Learn how to create a dictionary from two lists using dictionary comprehension and zip, pairing each sport with its student count to produce a usable key value mapping.
As our world becomes more and more technologically advanced, we become immersed in a digital era. In these modern times, it is important to learn how to code, and especially important for students to learn as the possibilities surrounding code are infinite. Especially with the current advent of machine learning, Python is one of the easiest and most powerful languages available, and having it in your arsenal is an excellent tool in this day and age. This is Part 3 of a 4 part course in Python.