I'm getting the error message "It looks like init is missing from Equilateral AND/OR Triangle."
As far as I can tell I have written the init lines correctly, so I'm assuming there's some sort of minor syntax error that I'm missing that is causing this to happen.
It might also be worth noting that for the def init under Equilateral I had originally not left a space between def and init and it wasn't being read. So the fact that I didn't get this error message earlier makes me think the issue is with Equilateral rather then the Triangle class.
class Triangle(object): number_of_sides = 3 def __init__(self, angle1, angle2, angle3): self.angle1 = angle1 self.angle2 = angle2 self.angle3 = angle3 def check_angles(self): if self.angle1 + self.angle2 + self.angle3 == 180: return True else: return False class Equilateral(Triangle): angle = 60 def ___init__(self): self.angle1 = self.angle self.angle2 = self.angle self.angle3 = self.angle my_triangle = Triangle(90, 30, 60) print my_triangle.number_of_sides print my_triangle.check_angles()