if self.a <= 20: x = self.a self.a += 1 return x else: raise StopIteration """ if __name__ == '__main__': A_Coefficient = 0 B_Coefficient = 0 C_Coefficient = 0 Discriminant = 0 roots = [] Points = [] myMath_obj = MyMath.MyMath_Class() """" myclass = MyNumbers() myiter = iter(myclass) for x in myiter: print(x) """ while True: ToolsScreen.ToolsScreen_Class.Make_Empty_Lines(1) A_Coefficient = MyInput_Class.InputFloat("Indtast a koefficient : ") B_Coefficient = MyInput_Class.InputFloat("Indtast b koefficient : ") C_Coefficient = MyInput_Class.InputFloat("Indtast c koefficient : ")