What is the output of the following code ? class A: @staticmethod @classmethod def m1(self): print(‘Hello’) A.m1(5)

QuestionsCategory: Python 3What is the output of the following code ? class A: @staticmethod @classmethod def m1(self): print(‘Hello’) A.m1(5)
admin Staff asked 3 years ago

Answer: TypeError