The area of an equilateral triangle is ¼(√3a2) where "a" represents a side of the triangle. You are provided with the side "a". Find the area of the equilateral triangle in Python
Created 1 year ago
222
Views
1
Comments
My Program
Answer:
import math
a=int(input())
b=a**2
c=4
d=math.sqrt(3)
e=d*b
area=e/c
print(round(area,2))