def getArea(self):
s = (self.side1 + self.side2 + self.side3) / 2
area = (s * (s - self.side1) * (s - self.side2) * (s - self.side3)) ** 0.5
return "{:.2f}".format(area)
def getArea(self):
s = (self.side1 + self.side2 + self.side3) / 2
area = (s * (s - self.side1) * (s - self.side2) * (s - self.side3)) ** 0.5
return "{:.2f}".format(area)
def getArea(self):
s = (self.side1 + self.side2 + self.side3) / 2
area = (s * (s - self.side1) * (s - self.side2) * (s - self.side3)) ** 0.5
return "{:.2f}".format(area)