I'm sure this is painfully obvious, but forgive me for asking. I know that the modulo operator (%) returns the remainder of a divison so that for example 10 % 3 would be 1 because 3 * 3 = 9, leaving 1 ...
A lesson on the modulo operator (remainder) represented by “%” in Python. This operator often causes confusion so it’s worth spending a whole lesson on. It is used in many algorithms and is required ...