in Python by
What Is The Statement That Can Be Used In Python If The Program Requires No Action But Requires It Syntactically?

1 Answer

0 votes

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 ..............")



Related questions

+1 vote
asked Feb 14, 2021 in Python by SakshiSharma
0 votes
asked Sep 24, 2021 in Python by Robin
0 votes
asked Dec 12, 2019 in Python by rajeshsharma