Python division operators: / returns a float, // rounds down

Python division operators: / returns a float, // rounds down

Remember that Python has two division operators:
10 / 2 # truediv, returns float: 5.0
10 // 2 # floordiv, rounds down: 5
10 / 3 # truediv: 3.333…
10 // 3 # floordiv: 3

Note: // with floats returns a float (10.0 // 3 = 3.0)