Dec 14, 2019 in Python
Q: What Is The Statement That Can Be Used In Python If The Program Requires No Action But Requires It Syntactically?

1 Answer

Dec 14, 2019

The pass statement is a null operation. Nothing happens when it executes. You should use “pass” keyword in lowercase. If you write “Pass,” you’ll face an error like “NameError: name Pass is not defined.” Python statements are case sensitive.

letter = "hai sethuraman"

for i in letter:

    if i == "a":


        print("pass statement is execute ..............")



Click here to read more about Python
Click here to read more about Insurance

Related questions

Jun 11 in SAS
Aug 19, 2019 in Selenium
Jul 10 in Python