There are two classes that are inherited by the third. Does not see init of the second class
class Sellary(object): """Sellary Class """ def __init__(self, value): self.value = value def get_sellary(self): return "{}$".format(self.value) class User(object): """ USER CLASS """ def __init__(self, name, sername): self.name = name self.sername = sername def __repr__(self): return "This is {} {}".format(self.name, self.sername) class Developer(User, Sellary): """ THis is a Developer Class who extends User, Sellary""" def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) def __repr__(self): return "hello I'm a Developer {} {}".format(self.name, self.sername, self.get_sellary()) if __name__ == '__main__': John = Developer('John', 'Doe', value=10000) print(John) The last value argument is not assigned, tell TypeError: __init__() got an unexpected keyword argument 'value' how to use it) TypeError: __init__() got an unexpected keyword argument 'value'