3 Answers
+ 3
It is used when the statement is required syntactically, but you do not want that code to execute. The pass statement is the null operation; nothing happens when it runs
+ 1
pass statement â The pass statement in Python is used when a statement is required syntactically but you do not want any command or code to execute.
- 1
pass statement: to run empty loops