0
Let me explain my way
7%(5//2) Now let's start with the parentheses 5÷2 = in this case we are looking for the first Number out put and ignoring the reminder or finishing the division in the right proper way, so the answer would be 2 because 2×2 is 4 which is the closest answer, and now we will not finish the solution because that what // does. Now, 7÷2 = we will look for the reminder of the division, so the answer would be 1, why 1? Because you will use 3×2 = 6 then 7-6=1. That's what % does.
3 Respostas
+ 1
7%2 , here desired output is only remainder.
above term is expressed by modulus sign (%),where % shows only remainder,not shows quotient.So quotient 3 isn't shown.
It's expressed by
7%2 = 1
+ 1
Why down vote?
if you have courage, please give your logic?
- 1
very nice.