5 lines
165 B
Python
5 lines
165 B
Python
def trianglePerimeter(xA, yA, xB, yB, xC, yC):
|
|
return distance2D(xA, yA, xB, yB
|
|
) + distance2D(xB, yB, xC, yC
|
|
) + distance2D(xC, yC, xA, yA)
|