Vidyalelo
Python · Q10

Formatting and Decorators

Programming · Python · question 10

Q10

What will be the output of the following Python code? class A: @staticmethod def a(x): print(x) A.a(100)

A.
Error
B.
Warning
C.
100
Answer
D.
No output

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board