Report Bug
Qus : What is 'pass' in python?
Qus पायथन में 'pass' क्या है?

A. No Operation
B. No Action
C. Null Statement
D. Placeholder


Solution
C. Null Statement



Explanation

pass statement is sued to represent Null Statements

Example:

for a in range(1,11):
    if a%3==0:
        pass
    else:
        print(a)
Hear it will print only integer between1 to 10 which are not divisible by 3. i.e. (1,2,4,5,7,8,10)



Report Bug