Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ triArea
Function
triArea
recipes/Python/576896_3_Point_Area_Finder/recipe-576896.py:27–31 ·
view source on GitHub ↗
(a,b,c)
Source
from the content-addressed store, hash-verified
25
yint = y
26
return
slope, yint
27
def
triArea(a,b,c):
28
h=dis(a,b)
29
m,y = findMY(a,b)
30
b=lineDis(m,y,c)
31
return
.5*h*b
32
33
Callers
nothing calls this directly
Calls
3
dis
Function · 0.85
findMY
Function · 0.85
lineDis
Function · 0.85
Tested by
no test coverage detected