0 votes
in Python by

What is the output of the following code?

def s1(x, y):

    return x*y

class A:

    @staticmethod

    def s1(x, y):

        return x + y

    def s2(self, x, y):

        return s1(x, y)

a = A()

print(a.s2(3, 7))

a) TypeError

b) 4

c) 21  

d) 10

1 Answer

0 votes
by

c) 21  

...