summaryrefslogtreecommitdiff
path: root/progs/a234.py
blob: eaa9fed0bb9f8c045a38b96025107caab23d6ab7 (plain)
1
2
def slope(x1,y1,x2,y2): 
    return (float)(y2-y1)/(x2-x1)