Can you rephrase how to use a modulo operator? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can you rephrase how to use a modulo operator?

The description makes sense, yet it doesn't. I can usr it, but I don't understand it.

3rd Jun 2017, 8:09 PM
Peoria Barlow
Peoria Barlow - avatar
2 Answers
+ 2
m = x - (x // y) * y is the same as m = x % y. No mention of where you read from. So, difficult to rephrase. I hope the above helps your understanding.
3rd Jun 2017, 8:18 PM
Venkatesh Pitta
Venkatesh Pitta - avatar
0
It does. Thank you.
3rd Jun 2017, 8:19 PM
Peoria Barlow
Peoria Barlow - avatar