Comment/pass statement in python

The difference between a comment and pass statement in Python is that, while the interpreter ignores a comment entirely, pass is not ignored. But nothing happens when it is executed. It results into no operation (NOP).

No comments:

Post a Comment