ID EN
Operators

imod

Python 3.11

a = imod(a, b) is equivalent to a %= b.

Syntax

PYTHON
operator.imod(a, b)