In the world of Python, there are a lot of fun and interesting data structures. The one we'll cover today is the dictionary.
Welcome to The Renegade Coder, a site for people interested in Python programming and college teaching! Join me on Patreon for even more content.
Latest Articles
How to Check If a Key Exists in a Dictionary in Python: in, get(), and More
One of my favorite Python data structures is the dictionary. Of course, I don't love getting an error when my key doesn't exist. Luckily, there's a way to check.
Guess who had the displeasure of dealing with yet another entitled student? This guy. Ugh.
Now that the GUI is up and running, it seemed like the write time to start expanding the core functionality. For instance, I just added custom font support.
Using Python to Visualize the Potential Effects of COVID-19 on Course Evaluations
Now that a portion of a semester of online learning is in the books, I was curious to see how COVID-19 might have affected my course evaluations using some data visualization.
How to Loop Over a Dictionary in Python: Keys, Values, and More
Looping over data structures in Python is always an interesting challenge. That's why we're going to look at dictionaries today.