Post

@Python_Dv Output: A) 1
10 % 3 gives the remainder after division → 1 ✅
English

@Python_Dv Answer: A) 1
The % (modulus) operator returns the remainder after division. When 10 is divided by 3, the quotient is 3 and the remainder is 1. Therefore, value % 3 evaluates to 1, which is printed.
English

@Python_Dv It will return remainder, hence output will be 1.
English

@Python_Dv The answer is 1 because the remainder of 10 divided by 3 is 1.
English

@Python_Dv A is answer its return rem and when double divide ask its will 3
English

@Python_Dv A
Mathematically, 10 / 3 = 3.333…
But in programming languages, % isn’t based on decimals or rounding.
It first does integer division, then returns what’s left over:
10 = (3 × 3) + 1 → so 10 % 3 = 1
English























