Account
Categories

Pass Statement


Definition:

The term ‘pass’ means to execute a program without writing any code inside a loop or block. It is used for an empty block.

Syntax:

pass

Example:

for i in range(1, 8):
    pass

Output: