Create 3 - 2D Distance.py
This commit is contained in:
parent
1f1533fe5b
commit
33f143d1b0
2
11/c/3 - 2D Distance.py
Normal file
2
11/c/3 - 2D Distance.py
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
def distance2D(x1, y1, x2, y2):
|
||||||
|
return hypotenuse(x1-x2, y1-y2)
|
Loading…
Reference in New Issue
Block a user