Programming and Problem Solving through Python : Operators Expressions and Python Statements

पायथन में 'pass' क्या है? , What is 'pass' in python?

What is 'pass' in python?




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)
CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Exam Quiz Website development Company in Allahabad