i’m actually stuck with a stupid syntax problem.
here is a a piece of code i can’t debug:
kx = (neighbor + agent) / (dx - (neighbor + agent))
in this line, ‘neighbor’ and ‘agent’ are both integers and ‘dx’ is a float so it gives me the following error: ‘ZeroDivisionError: float division’.
And it is the same if i convert them into floats by float() function.