**New course!**Every coder should learn

**Generative AI!**

+ 1

# I cannot understand quotient and remainder stuff

I can't explain it but you can say that i understood nothing in this quotient remainder thing

5 Answers

+ 4

Adding on above answer,
"//" floor division.
This is used for getting the quotient.
As you can see the above example.
print(10//4) # prints 2 i.e quotient
print (10%4) # prints 2 i.e remainder.
print(10/4) # prints 2.5 i.e in decimal form-accurate form

+ 4

See
Let's initialise a value of 10 to a variable a initialise another value of 4 to a variable b.
So if ye use % (modulus) to find the remainder and / for quotient 😕
4|10|2 - quotient
- 8
---------
2. remainder
---------
so here the remainder is 2 and the quotient is also 2.
Have a look
https://www.math-only-math.com/dividend-divisor-quotient-and-remainder.html

+ 2

Please tell your programming language.
So, that we can help you

0

It's python

0

Know what is remainder and quotient ghe thing is I just started python and i can't understand it in python terms