0
modulo
How does the modulo operator work in python
3 Answers
+ 2
This question has been asked dozens of times.
Please use the Search feature and see if any of those answers help you clarify your doubts.
https://www.sololearn.com/Discuss/2742901/?ref=app
https://www.sololearn.com/Discuss/2780732/?ref=app
https://www.sololearn.com/Discuss/2945388/?ref=app
https://www.sololearn.com/Discuss/3000992/?ref=app
https://www.sololearn.com/Discuss/3027866/?ref=app
+ 2
Ohh now i understand, the modulo operator omits the answer and outputs its remainder
+ 2
Kaggwa Kevin ,
Save this link. It's the General Index page of python.org, which is the official Python language documentation site. You can drill down alphabetically to any language feature, including symbols such as %, from that index.
I use it all the time to get the definitive truth about how something works in Python.
https://docs.python.org/3/genindex.html