+ 1
Why 20//6=3? Please help me
4 Respuestas
+ 7
20/6 = 3.33
but floor division gives only the integer part without including the decimal part
just like yours
print(20//6, "floor division")
print(20/6, "normal division")
+ 4
// is floor division
20/6 you will see the decimal but if
20//6 It remove all decimal out then you will see integer
+ 1
ok thanks a lot
0
oo thanks very much