csc-python-solutions/11/c/3 - 2D Distance.py
2021-02-18 09:27:17 +01:00

3 lines
67 B
Python

def distance2D(x1, y1, x2, y2):
return hypotenuse(x1-x2, y1-y2)