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