I\'ve a strange issue in Python: the division is not performed correctly:
print pointB[1] print pointA[1] print pointB[0] print pointA[0] print (pointB[1]-
It is done correctly.
50/60 = 0
Maybe you are looking for 50.0/60.0 = 0.83333333333333337, you can cast your variables to float to get that:
print float(pointB[1]-pointA[1]) / (pointB[0]-pointA[0])