Python Program to Find Area of Equilateral Triangle

Python Program to Find Area of Equilateral Triangle

Write Python Program to Find Area of Equilateral Triangle

# Python Program to Find Area of Equilateral Triangle

import math as mt

side = 5

#Formula to compute area of Equilateral triangle
area = (mt.sqrt(3) / 4) * (side * side)

print("Area of Equilateral Triangle having side ", side, " :--> ", area)

Output:

Area of Equilateral Triangle having side  5  :-->  10.825317547305483