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