Checkpoint 19.6.1.
Put the blocks in the right order and indentation. You will use all of the blocks.
distance
, we can use it to help write triangle_area
. This function will take all six coordinates and return the area.def triangleArea(x1, y1, x2, y2, x3, y3):
Do work to calculate area - use the distance function to help
return area