Please, check my code for calculating area of triangle (in python) because my coding play ground is not working | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Please, check my code for calculating area of triangle (in python) because my coding play ground is not working

a = 5 b = 6 c = 7 s = (a + b + c) / 2 area = (s*(s-a)*(s-b)*(s-c)) ** 0.5 print('The area of the triangle is %0.2f' %area)

14th May 2021, 3:03 AM
Om Rathore
Om Rathore - avatar
2 Answers
+ 1
It's working
14th May 2021, 3:10 AM
Aditya
Aditya - avatar
0
I don't know 😕 I have complained to info@sololearn.com
14th May 2021, 3:20 AM
Om Rathore
Om Rathore - avatar