Looping over data structures in Python is always an interesting challenge. That's why we're going to look at dictionaries today.
When 87% of your students miss a quiz question, it's up to you to make some sense of it. For instance, you might make an entire article about Java iterators.
As this series grows, I find myself digging back into the basics. Today, we'll look at a few ways to create a list in Python.
Sorting is a common topic in computer science, so figured I'd put together an article on how to sort a list in Python using some of the simpler approaches.
Whether or not you know how to add an item to a list in Python, you'll want to read this article just to learn about slice assignment. Trust me.
When it comes to dictionaries, looking up a value by key is easy, but what about the reverse? Today, we'll perform a reverse dictionary lookup in Python.