In Python programming, somewhere a statement is required to write syntactically but we do not want any operation because of that statement. In that case, a pass statement comes in the picture. It is used as a placeholder where syntactically some code is required. When pass statement executes, no operation is carried out. This is particularly useful in situations where code structure is being defined but the implementation is deferred.
def democlass: #Empty Class
pass
—————————————————–
def my_fun( ): #Empty Function
pass
🙂 Happy Learning !