Now that we're comfortable with data types, I figured it was time to discuss one aspect of Python syntax: operators.
Tag: Operators
How to Increment a Number in Python: Operators, Functions, and More
It's surprisingly common to want to increment a number in Python. Yet, I haven't seen a lot written about it. Here's my attempt!
The remainder operator is a staple in Java, but did you know it works on doubles as well? Now, you know!
As of Python 3.8, there's a new operator in town: the walrus operator. Let's talk about some of the controversy around it.
When learning a new programming language, it can be helpful to play with the basic operations. That's why I've written a lab for Java number exploration.
Recently, one of my students just introduced me to `i = i++`. Care to guess how it works? It's probably not what you think.