Computer Science, asked by lalbahadur1919, 4 months ago


What is the result of the following python code:
>>>20%3
a) 6
b) 3
c) 2.
d) 5​

Answers

Answered by jai696
1

\huge{\mathtt{{\blue{\boxed{\tt{\pink{\orange{A}\purple{n}\blue{s}\red{w}\green{e}\pink{r᭄}}}}}}}}

2

\huge\blue{\mid{\fbox{\tt{Explanation}}\mid}}

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).

\large\mathsf\color{lightgreen}useful?\: \color{white}\longrightarrow\: \color{orange}brainliest!

Answered by BrainlyProgrammer
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