pass - A null statement, a statement that will do nothing

A code block, such as a for loop, while loop, or function, cannot be empty.  The pass keyword gives you something to put in a block that is a placeholder for later coding so that it "passes" syntax checking.

Examples

Python
for x in range(1, 3):
    pass

x = 0
while x != 0:
    pass

def todo():
    pass

class implementMe:
    pass

Notes: Be careful - the function will still run the code, it simply ignores the pass statements:

Python
def todo():
    a = 5
    pass
    print(a)

todo()

Output

5