Examveda
Examveda

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

D. No output

Answer: Option C


This Question Belongs to Python Program >> Formatting And Decorators

Join The Discussion

Related Questions on Formatting and Decorators