How to use pass statements?

concept of pass statements

@vimalgeorge1999 Hello,

We have recieved your query.
This was a really nice question which you have asked.

Give us a couple of minutes & we will reach out with the solution for your query

Zeba Kainat| TA- Edyoda

1 Like

The pass statement is used as a placeholder for future code.

When the pass statement is executed, nothing happens, but you avoid getting an error when empty code is not allowed.

Example: -

def myFunction():

pass
1 Like