0
Why 20//6 ,gives 3 as output!??
6 Respuestas
+ 6
Becouse:
20 = (6 * 3) + 2
or
20 = 3 + 3 + 3 + 3 + 3 + 3(six time) +2
# :)
+ 4
+ 3
The operator // return a int type, in other words a integer number without the remainder.
- 1
Because when you use // it gets rid of the float ( decimal ) so as 20 / 6 = 3.33333 when you do 20 // 6 and get rid of the decimal it is 3
- 1
Because in phython it does not do the repeating decimals they will be ignored.
- 1
20/6 = 3.33333333333333333333333... So it just put 3