Class it up


#1

i cant understand the reason for this error.
although i have defined angle 1 angle 2 and angle 3


#2

angle1, angle2 and angle3 are undefined variable

that is why in __init__() method we create self.angle1, self.angle2 and self.angle3

now we can access the instance variables through self if we give check_angles a parameter of self


#3

o great... ! yes self , was missing among the parameters
thank you very much


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.