راکت

پرسش و پاسخ ها


مرتضی
مرتضی
6 سال پیش
توسط مرتضی مطرح شد

عملکرد super در ارث بری از چند کلاس در پایتون

سلام به این کد نگاه کنید : class First(): def __init__(self): print ("first") class Second(First): def __init__(self): super().__init__() print ("second") class Third(First): def __init__(self): super() print ("third") class Fourth(Second ,Third...