All arithmetic operations performed on this number line will wrap around when they reach a certain number called the modulus.Ī classic example of modulo in modular arithmetic is the twelve-hour clock. Modular arithmetic deals with integer arithmetic on a circular number line that has a fixed set of numbers.
The term modulo comes from a branch of mathematics called modular arithmetic. Free Bonus: Click here to get a Python Cheat Sheet and learn the basics of Python 3, like working with data types, dictionaries, lists, and Python functions.