Hi, I want to know What is the pass statement in Python
3 Likes
Pass statement in Python is used as a placeholder which can be used for future code.
What it means is that, if you have an empty code, an error will be thrown. But if you use pass statement in place of that empty code, no error will be thrown.
1 Like