(l1, l2, l3)
return Triangle((0, 0), (l1, 0), pt)
Return triangle having side of length l1 on the x-axis.
Return triangle having side of length l1 on the x-axis.
Return triangle having side of length l1 on the x - axis .
def _sss(l1, l2, l3):
    """Return triangle having side of length l1 on the x-axis."""
    c1 = Circle((0, 0), l3)
    c2 = Circle((l1, 0), l2)
    inter = [a for a in c1.intersection(c2) if a.y.is_nonnegative]
    if not inter:
        return None
    pt = inter[0]
    return Triangle((0, 0), (l1, 0), pt)
def _sss ( l1 , l2 , l3 ) : c1 = Circle ( ( 0 , 0 ) , l3 ) c2 = Circle ( ( l1 , 0 ) , l2 ) inter = [ a for a in c1 . intersection ( c2 ) if a . y . is_nonnegative ] if not inter : return None pt = inter [ 0 ] return Triangle ( ( 0 , 0 ) , ( l1 , 0 ) , pt )