I don' t understand this | Sololearn: Learn to code for FREE!

0

I don' t understand this

qoutiant & remainder

5/15/2017 11:06:11 PM

Mohammed Kamal

2 Answers

New Answer

+6

If, for example, you are dividing 7 apples to 3 people you can give 2 apples for each and 1 would remain. In Python you can write it this way: 7 // 3 = 2 7 % 3 = 1 # the % operator is used as remainder of the integer division.

+2

thx alot ❤