Create 4 - Secure the Perimeter.py

This commit is contained in:
Lukas Baumann 2021-02-18 09:32:37 +01:00 committed by GitHub
parent 33f143d1b0
commit 24054816db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)