Programming Examples
Python program to accept side of Equilateral Triangle and find its area
Write a Python program to accept the side of Equilateral Triangle and find its area
A = (√3)/4 × side2
import math
a=float(input("Enter the Length of Side"))
area=(math.sqrt(3)/4)*(a**a)
print("Area of Triangle is : ",area)
Output
Enter the Length of Side5
Area of Triangle is :Â 1353.1646934131852