How to solve Inheritance Output error

class ParentClass:
def myfunction1(self): #parent class property
print(“Parent class function called”)

class ChildClass(ParentClass): # Child class which inhrit parent class
def myfunction2(self): #Child class property
print(“Child class function called”)

Creating an object of childclass

c1 = ChildClass()

c1.myfunction1
c1.myfunction2

Output — <bound method ChildClass.myfunction2 of <main.ChildClass object at 0x000001A8BF0F9B20>>