diff --git a/11/c/3 - 2D Distance.py b/11/c/3 - 2D Distance.py new file mode 100644 index 0000000..ca76596 --- /dev/null +++ b/11/c/3 - 2D Distance.py @@ -0,0 +1,2 @@ +def distance2D(x1, y1, x2, y2): + return hypotenuse(x1-x2, y1-y2)