The object variables declared in the base class will be copied to the child class object as well. Suppose member is having name defined in init… and now the teacher is inheriting the member class for the object of teacher class will be having a name as the attribute as well.
Also please let me know if there is any concept os access specifiers python like public, private protected.