The backbone of any Python program is decision making. In other words, given some input, what should our program do? Today, we'll answer part of that by learning if statements.
Tag: Control Flow
Watch a guy try to shrink the size of his favorite Python program, Rock Paper Scissors, using his favorite language features.
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...
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
One of my favorite new teaching techniques is peer instruction, and today I want to share some of that excitement with you!
As someone who covers a lot of beginner concepts, I've always sort of avoided one of the trickier concepts: recursion. Well, today I decided to take a stab at it.