0
Can someone help to fix this code?
https://sololearn.com/compiler-playground/c3lIcR2cJs9X/?ref=app
3 Respuestas
+ 2
Stone ,
this request and code was already posted by you just a few hours ago. i gave you some hints and tips how to solve the issues. meanwhile your first post was deleted, and the same once appeared again.
now the 2 new answers with the solutions are available, which has saved you some effort and thinking about your own way.
this behaviour does not motivate people to give help and support, because also their effort for you is gone by deleting.
+ 1
Alhaaz ,
why do you recommend importing the math module for this task ?
0
Stone
In your code you have written herons triangle area formula:-
s*(s-a)*(s-b)*(s-c)**0.5 instead of this write math.sqrt(s*(s-a)*(s-b)*(s-c)) and don't forget to write "import math" on the top.