I have seen some examples where super().init() is written and other times where super().init(arg1,art2).
what is the difference?
I have one more question. When parent and child class init are perfectly same, is there no need to write def init in child class?
Do we need to write above codes only when we want to add new attributes to child class init?
def __init__(self, arg1, arg2, arg3): super().__init__(self, arg1,arg2) self.arg3 = arg3