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/ Explanation:

Enter the Length of Side5

Area of Triangle is :  1353.1646934131852

Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad