Created by cahier-algo-2de-indice2019
Created on November 27, 2018
171 Bytes
from math import * def dper(a,b,c): d=(a+b+c)/2 return(d) def heron(a,b,c): p=dper(a,b,c) s=sqrt(p*(p-a)*(p-b)*(p-c)) return(s)