 Python 2 @.@ 1 and earlier use the C division behavior . The / operator is integer division if both operands are integers , and floating @-@ point division otherwise . Integer division rounds towards 0 , e.g. 7 / 3 
