New course! Every coder should learn Generative AI!
Try a free lesson+ 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}