As this series grows, I’ve started poking at seemingly simple problems to expose their complexity. This time, I thought it would be interesting to look at how to convert a …
Remember learning to round in grade school? Me too! The only problem is I don’t use the idea very often. As a result, I don’t always remember how to round …
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.
Today, I’m sharing a few ways to compute absolute value in Python. If you thought the standard library was the only way to get it done, buckle up!
Are you worried that people might reverse engineer your script? One way to combat that issue is to obfuscate your code. Luckily, it’s not too hard to d
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!
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.
The “How to Python” series just got even better. Now, articles feature Jupyter Notebooks where you can play with the source code.
The remainder operator is a staple in Java, but did you know it works on doubles as well? Now, you know!
In Python, if you want to compare strings, you need to understand the difference between equality and identity.