6 ms·In python, math.floor(x / n) can be written x // n, so: x == n * (x // n) + x % nby jacobolus 15y agoIn python, math.floor(x / n) can be written x // n, so: x == n * (x // n) + x % ndagw 15y agomath.floor(x / n) can be written x // n It's worth noting that x//n returns an int and math.floor returns a float, so the statements aren't equivalent.jacobolus 15y agoIf you pass a float in as x or n, x // n will be a float.