Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Simple Areas by biorockstar
def simple_areas(a = False, b = False, c = False):
from math import pi
if c:
p = .5*(a+b+c)
return (p*(p-a)*(p-b)*(p-c))**0.5
if b: return a*b
if a: return pi*(0.5*a)**2
Aug. 15, 2015
Comments: