pass
Statement is a no-op. Nothing happens when executed. Lowercase pass
keywords should be used. If you write Pass
, you will encounter “NameError: name Pass is not defined”
errors like this. Python statements are case-sensitive.
letter = "hai sethuraman"\nfor i in letter:
if i == "a":
pass
print("pass statement is execute ..............")
else:
print(i)