Trianlgle()takes the given points as vertices of a triangle and computes the area of triangle with the help of area.
Syntax: Triangle(x, y, z).area Parameters: where x, y, z are coordinates. Return: Area of triangle.
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course.