Méthode d'appel Python du constructeur
class TheBestClass:
def __init__(self, num1, num2)
self.number1 = num1
self.number2 = num2
self.AddTogether() #call it within self.
def AddTogether(self):
print(self.number1 + self.number2)
Lazurite