+ 1
I don't understand what is quotient & remainder
3 ответов
+ 4
x= y(q) + r
here q is quotient of x and y.
r is remainder. always r<y
for python, x//y will give you quotient and x%y will remainder( modulo) .
e.g. 25 = 8(3) + 1
3 is quotient and 1 is remainder.
+ 2
quotient is the result of devision. Remainder is what is left after devision.
7 = 2*3 + 1
quotient of 7 and 3 is 7/3
remainder is the 1
0
thanks guys .......