xxxxxxxxxx
# Floor division(//) chops off all numbers after the decimal
# Input
10 / 3
10 // 3
# Output
3.33333333
3
xxxxxxxxxx
In Python 3.0
5 // 2 floor division will return 2.
5 / 2 floating point division will return 2.5
The floor division operation in Python is used to divide two numbers and rounds the result down to the nearest integer.