+ 2

# What is floor division?

1 Answer

+ 3

Floor division(// in python) divides 2 numbers and returns the integral part of the quotient.
For example :-
5//2 = [2.5] = 2 {where [.] is greatest integer function}

+ 2

1 Answer

+ 3

Floor division(// in python) divides 2 numbers and returns the integral part of the quotient.
For example :-
5//2 = [2.5] = 2 {where [.] is greatest integer function}