
class A():
	def sum1(self,a,b):
		print("In a Class A")
		c=a+b
		return c
	
class B(A):
	def sum1(self,a,b):
		print("In a Class B")
		c=a*a+b*b
		return c

b_obj=B()
print(b_obj.sum1(4,5))
		
8b5f3a08b96f22b94bb80bc2b0c691e7159236cc
class A:
    <mask token>


class B(A):

    def sum1(self, a, b):
        print('In a Class B')
        c = a * a + b * b
        return c


<mask token>

class A:

    def sum1(self, a, b):
        print('In a Class A')
        c = a + b
        return c


class B(A):

    def sum1(self, a, b):
        print('In a Class B')
        c = a * a + b * b
        return c


<mask token>

class A:

    def sum1(self, a, b):
        print('In a Class A')
        c = a + b
        return c


class B(A):

    def sum1(self, a, b):
        print('In a Class B')
        c = a * a + b * b
        return c


<mask token>
print(b_obj.sum1(4, 5))

class A:

    def sum1(self, a, b):
        print('In a Class A')
        c = a + b
        return c


class B(A):

    def sum1(self, a, b):
        print('In a Class B')
        c = a * a + b * b
        return c


b_obj = B()
print(b_obj.sum1(4, 5))


class A():
	def sum1(self,a,b):
		print("In a Class A")
		c=a+b
		return c
	
class B(A):
	def sum1(self,a,b):
		print("In a Class B")
		c=a*a+b*b
		return c

b_obj=B()
print(b_obj.sum1(4,5))
		