+ 1
Pls say me What this means?( in python)
17℅3
2 ответов
+ 3
This is 17 modulus 3...
Get floor division of the two numbers
17 // 3 = floor(5.6666) = 5
Then multiply the divisor with that resulting floor
3 * 5 = 15
Now subtract dividend minus this resulting multiplication
17 - 15 = 2, which is the correct answer!
17 % 3 = 2
+ 1
tnx man💟