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