0

Python

What does modulo % mean??

14th Jul 2019, 9:09 PM
Razan
Razan - avatar
2 ответов
+ 1
12//10=1(how many ‘’tens” in 12), but 12%10=2(how much is left after division)
14th Jul 2019, 9:26 PM
Vadim Lusto
Vadim Lusto - avatar
0
It's remainder. 4%2 is 0 5%2 is 1
14th Jul 2019, 9:11 PM
Ali Shekari
Ali Shekari - avatar