What's the difference between Division and Division in Python?

After that floor division operator ( //) works fine but not division ( /) operator. 5.0//2 results in 2.0, and not 2 because the return type of the return value from // operator follows python coercion (type casting) rules. Python promotes conversion of lower datatype (integer) to higher data type (float) to avoid data loss.
For More Information Please Refer:

You May Also Like to Read: