One of my students asked me to write up an article on how to pick up Python as a Java developer, so I did.
Category: Code
When 87% of your students miss a quiz question, it's up to you to make some sense of it. For instance, you might make an entire article about Java iterators.
How to Split a String by Whitespace in Python: Brute Force and split()
There are a lot of ways to manipulate strings. For instance, we might be interested in splitting a string by a separator like whitespace.
A lot of students run into trouble when they're asked to complete a programming project from scratch for the first time. Here are some tips!
How to Convert a String to Lowercase in Python: lower() and More
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 string to lowercase. As...
How to Round a Number in Python: Truncation, Arithmetic, and More
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 a number in programming contexts like...
