25th Nov 2024, 2:13 PM
Stone
Stone - avatar
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.
25th Nov 2024, 2:56 PM
Lothar
Lothar - avatar
+ 1
Alhaaz , why do you recommend importing the math module for this task ?
25th Nov 2024, 3:15 PM
Lothar
Lothar - avatar
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.
25th Nov 2024, 2:44 PM
Alhaaz
Alhaaz - avatar