Pass Statement

when Pass statement is encountered nothing happens . It results into no operation.

It is used as a placeholder.For example a function that is not implemented yet, but we will implement it in the future. They cannot have an empty body. The interpreter would complain. So, we use the pass statement to construct an empty body that does nothing.

Example: pass Statement

def function(args):
     pass


class example(Object):
     pass