You are viewing a single comment's thread. Return to all comments →
To my knowledge, that is only the case for Python 2. Python 3 returns the fractional part as well even if you divide two ints. :)
yeah I think that's right
Right, in python3 if you dont want the fraction just use floor division a//x.