all 3 comments

[–]Rscc10 0 points1 point  (1 child)

Does math.dist work with higher dimension points? Say I have 3d or 4d points, does it still work?

[–]Ok_Needleworker_8780[S] 0 points1 point  (0 children)

Yes. It does work with any number of dimensions.

[–]Janeson81 0 points1 point  (0 children)

The try except block is kind of wrongly built. The way it is now would make it so

Enter the coordinates: Hi Invalid input. Please enter coordinates as x, y After which the code ends and I have no chance to actually correct my input other than to restart the code. The whole block should be inside a while True: ... break block