Back

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
KobalanM
@KobalanM
KobalanM
@KobalanMProfile is locked. Login

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))

Comments
Please login to comment.