+ 2
What's the meaning of floor division??
3 odpowiedzi
+ 8
You mean this //
It's same as normal division but outputs it without the comma meaning only the it part
Like for e.g : 30/4= 7.5
30//4=7
+ 7
In addition to the possibility of creating an integer directly with a floor division, there is also the option of creating an integer from a float value with the math.floor() method, or by using just int() function.