In this video, we’ll talk about more operators you can use, conditionals, and recursion. We’ve talked about the basic operators in the previous videos. Operators like plus, minus, multiply, and division. A very commonly used operator is modulus or also called modulo. What’s modulus? Modulus works on integers and finds the remainder when dividing two numbers. The modulus operator is the percent sign (%). For example,
remainder = 7 % 3
Think of dividing 7 by 3, but what gets returned is the remainder,...