gf ide code example
Example: gfg ide
class A:
def hello1(self):
print("Super")
class B(A):
def hello1(self):
print("Child1")
class C(B):
def hello(self):
print("Child2")
ob = C()
ob.hello()
ob.hello1()
class A:
def hello1(self):
print("Super")
class B(A):
def hello1(self):
print("Child1")
class C(B):
def hello(self):
print("Child2")
ob = C()
ob.hello()
ob.hello1()