From 24054816db3995272a66e37e623e76444fca2d73 Mon Sep 17 00:00:00 2001 From: Lukas Baumann Date: Thu, 18 Feb 2021 09:32:37 +0100 Subject: [PATCH] Create 4 - Secure the Perimeter.py --- 11/c/4 - Secure the Perimeter.py | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 11/c/4 - Secure the Perimeter.py diff --git a/11/c/4 - Secure the Perimeter.py b/11/c/4 - Secure the Perimeter.py new file mode 100644 index 0000000..214cb2e --- /dev/null +++ b/11/c/4 - Secure the Perimeter.py @@ -0,0 +1,4 @@ +def trianglePerimeter(xA, yA, xB, yB, xC, yC): + return distance2D(xA, yA, xB, yB + ) + distance2D(xB, yB, xC, yC + ) + distance2D(xC, yC, xA, yA)