Question-55: Which of the following would print 9 ?
- print(9%9)
- Get all Questions and Answer from here
- You need to have paid subscription to access all questions
- Thanks for considering Python Certification Material
Answer : D
Exp :
- “%” modulo operator
- Its generate remainder value after division.
If Numerator value is smaller than denominator. Then module operator would always give you the same value.
You can access to full explanation to question and answer from this page.