pass statement does nothing.
Wow, that's a bummer!
Then, why do we need it?
Well, it can be used when a statement is required syntactically but the program requires no action.
Let's see an example:
- The body of any statement containing
passstatements are ignored by the python interpreter, just like it ignores comments.