• + 2 comments

    I think I may have phrased my original question confusingly. In the instructions, there are these statements:

    Since floats lose precision, it's not advised to use them in integral calculations.

    To solve this problem, future Python modules included a new type of division called integer division given by the operator //.

    I'm confused on why integer division is given as a solution to float division's loss of precision if integer division results in even more loss of precision.