The issue is that `int(x) / int(y)` would yield an int result in Python 2, but a float result in Python 3. So you had to find all the spots in your code where `/` was being used as an integer division operator and replace it with `//`.
Since Python 2 does not have any form of type annotation, this made the task hard to do automatically and error-prone.