def triangle_area(point1, point2, point3):
"""<STR_LIT>"""<EOL>a = point_distance(point1, point2)<EOL>b = point_distance(point1, point3)<EOL>c = point_distance(point2, point3)<EOL>"""<STR_LIT>"""<EOL>s = (a + b + c) / <NUM_LIT><EOL>"""<STR_LIT>"""<EOL>return math.sqrt(s * (s - a) * (s - b) * (s - c))<EOL>
Uses Heron's formula to find the area of a triangle
based on the coordinates of three points.

Args:
    point1: list or tuple, the x y coordinate of point one.

    point2: list or tuple, the x y coordinate of point two.

    point3: list or tuple, the x y coordinate of point three.

Returns:
    The area of a triangle as a floating point number.

Requires:
    The math module, point_distance().