CBSE BOARD XII, asked by Sashankrana29, 9 months ago

write the python programme to find the area of triangle ​

Answers

Answered by mariemriya
1

Answer:

Sorry I can't u cna do it

Answered by Anonymous
2

Here is the Code :-

a = float(input('Enter first side: '))

b = float(input('Enter second side: '))

c = float(input('Enter third side: '))

# calculate the semi-perimeter

s = (a + b + c) / 2

# calculate the area

area = (s*(s-a)*(s-b)*(s-c)) ** 0.5

print('The area of the triangle is %0.2f' %area)

If You want to See Output prefer to Attachment.

Attachments:
Similar questions