0

floor division and Quotient

I did not understand the floor division and what is the use of making two forward slashes? Also, what is meant by floor division? Thanks,

3rd Oct 2020, 7:30 PM
Jolie Hany
1 ответ
+ 2
For example the division of 5/3 results in 1.6666 so // operator rounds off the value to a integer lower than the real value which will be 1 in this case ,
3rd Oct 2020, 7:40 PM
Abhay
Abhay - avatar