What will be the output of the following Python code?
class A:
@staticmethod
def a(x):
print(x)
A.a(100)
class A:
@staticmethod
def a(x):
print(x)
A.a(100)A. Error
B. Warning
C. 100
D. No output
Answer: Option C

Join The Discussion