True division is where the result is always the real floating-point quotient, regardless of operand type. This is the default division operation in any Python 3.x release. As mentioned earlier, most Python 2 releases have both behaviors built-in; to take advantage of true division in 2.2 and newer 2.x releases.
>>>1 / 2 >>>0.5 >>>1.0 / 2.0 >>>0.5
A new division operator ( // ) always truncates the fraction and rounds it to the next smallest whole number toward the left on the number line, regardless of the operands’ numeric types.
>>>1.0 // 2.0 #floor results returns float >>>0.0 >>>1 // 2 >>>0 >>>-1 // 2 #Result is floored i.e rounded >>>-1