Skip to content

Repository files navigation

class Parent: def class1(self): print("This is parent class.")

Derived class

class Child(Parent): def class2(self): print("This is child class.")

object = Child() object.class1() object.class2()

About

ACTIVITY: To solve the problems of inheritance types.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors