csc-python-solutions/11/c/3 - 2D Distance.py

3 lines
67 B
Python
Raw Normal View History

2021-02-18 08:27:17 +00:00
def distance2D(x1, y1, x2, y2):
return hypotenuse(x1-x2, y1-y2)