In Python programming, pass is a null statement.
Python pass statement
The difference between a comment and pass statement in Python is that, while the interpreter ignores a comment entirely, pass is not ignored. However, nothing happens when pass is executed. It results into no operation (NOP). We generally use it as a placeholder.
Comments
Post a Comment