+ 6
Why -11//3 = -4 ?
11//3 = 3 It makes sense. 11/3 =3.6666 but we only take integer as result, which is 3. So why we can't apply same logic for negative numbers? (Python language)
2 Réponses
+ 8
-4 is the lower or the floor value of -3.66 , in negative numbers the higher the value of negatives, the lower the number is
+ 3
@Sami yea, i get it. Thanks ! :)