⟩ Explain me what Is The Statement That Can Be Used In Python If The Program Requires No Action But Requires It Syntactically?
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 friend"
for i in letter:
if i == "a":
pass
print("pass statement is execute ..............")
else:
print(i)