In growing the Python concept map, I thought I'd take today to cover the concept of special methods as their called in the documentation. However, you may have heard them called magic methods or even...
Tag: Operators
Now that we're comfortable with data types, I figured it was time to discuss one aspect of Python syntax: 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.