Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ dis
Function
dis
recipes/Python/576896_3_Point_Area_Finder/recipe-576896.py:1–2 ·
view source on GitHub ↗
(a,b)
Source
from the content-addressed store, hash-verified
1
def
dis(a,b):
2
return
( (b[0]-a[0])**2 + (b[1]-a[1])**2 )**.5
3
def
lineDis(m,y,point):
4
""
"slope in decimal, y intercept, (x,y)"
""
5
a = m
Callers
2
recipe-545418.py
File · 0.85
triArea
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected