In the world of Python, there are a lot of fun and interesting data structures. The one we'll cover today is the dictionary.
Category: Code
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.
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.
When you try to retrieve a character that doesn't exist in a string, you get an IndexError. In this article, we'll talk more about what that means.
In an effort to help out more Python folks, I figured I'd start a series covering errors. Up first, we're going to chat about a special SyntaxError.
