Modulus operator: In Python, the modulus operator (%) returns the remainder of a pision operation:
>>>4%2 0 >>>3%2 1
The floor operator (//) is the opposite of the modulus operator. This operator returns the floor of the quotient, that is, the integer result, and discards the fractions: