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

Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad