What is pass in Python?

Last updated 3 years, 1 month ago | 1102 views 75     5

Tags:- Python

Python | Pass Statement

The pass statement is used as a placeholder for future code. It represents a null operation in Python. It is generally used for the purpose of filling up empty blocks of code which may execute during runtime but has yet to be written.

 

def myfunction():
    pass