0

I don' t understand this

qoutiant & remainder

15th May 2017, 11:06 PM
Mohammed Kamal
Mohammed Kamal - avatar
2 Answers
+ 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.
15th May 2017, 11:16 PM
Ulisses Cruz
Ulisses Cruz - avatar
+ 2
thx alot ❀
15th May 2017, 11:17 PM
Mohammed Kamal
Mohammed Kamal - avatar