def _sas(l1, d, l2):
 p1 = Point(0, 0)
 p2 = Point(l2, 0)
 p3 = Point((cos(rad(d)) * l1), (sin(rad(d)) * l1))
 return Triangle(p1, p2, p3)

def _sas ( l1 , d , l2 ) : p1 = Point ( 0 , 0 ) p2 = Point ( l2 , 0 ) p3 = Point ( ( cos ( rad ( d ) ) * l1 ) , ( sin ( rad ( d ) ) * l1 ) ) return Triangle ( p1 , p2 , p3 )
return triangle having side with length l2 on the x-axis .