Q. What is the output of this code?
Code:
print(5 % 2)
β
Correct Answer: (B)
1
Explanation: `%` is the modulo operator. 5 % 2 equals 1.
print(5 % 2)
Explanation: `%` is the modulo operator. 5 % 2 equals 1.