What is the result of the following python code:
>>>20%3
a) 6
b) 3
c) 2.
d) 5
Answers
Answered by
1
2
In computing, the modulo operation returns the remainder or signed remainder of a division, after one number is divided by another (called the modulus of the operation).
Answered by
2
Question:-
- What will be the result of python code:-
>>>20%3
Answer:-
2
Explaination:-
Modulus(%) returns with the remainder when the number is divided by other number.
Here, when 20 is divided by 3, Remainder is 2
So, Correct answer is 2
Similar questions