+25 XP
Lesson 17

Modulo Operator

Find the remainder

%

What's Left Over?

The modulo operator gives you the remainder after division!

The % Symbol

7 // 2 = 3

How many times?

7 % 2 = 1

What's left over?

Modulo is like asking "What's the remainder?"