floor division in python explained code example Example: floor division python 3 # the double '//' is used for floor division result = x//y