In this we are going to see a program on simple multilevel inheritance in Python Programming Language.
class First:
def first(self):
print("First")
print ('Help')
class Second(First):
def second(self):
print("Second")
print ('For')
class Third(Second):
def third(self):
print("Third")
print ('Coders')
m=Third()
m.first()
m.second()
m.third()
# Coded By Dhiraj Shelke
#ENJOY CODING
Post a Comment
FOR ANY DOUBTS AND ERRORS FEEL FREE TO ASK. YOUR DOUBTS WILL BE ADDRESSED ASAP