What am I doing wrong

I defined a point.bycoordinates (x=7500, y=2500, z=0) now i want to check if this point is in the list an what it’s index is.

The list is a list of points (point.Bycoordinates) [1] is the one we need.

But index of is saying the point doesn’t exists and the == is saying that all the pionts match, or am I seeing it wrong.

This logic is a lot harder then i thought.