The // is the floored-division operator in Python. The thing that matters is noticeable when partitioning floating-point values.
In Python2, isolating two ints utilizes integer division, which winds up getting you something very similar to floored division. Be that as it may, you can in any case utilize // to get a stunned consequence of the floating point division.
# Python 2
>>> 10.0 / 3
>>> 10.0 // 3
But in Python3, separating two ints brings about a float, however utilizing // goes about as integer division.
>>> 10 / 3
>>> 10 // 3
Floored division implies round towards negative limitlessness. This is equivalent to truncation for positive values, yet not for negative. 3.3 adjusts down to 3, however - 3.3 adjusts down to - 4.
Join the python online course fast, to learn python concepts in detail and get certified.