pass is a Python command that literally does nothing! Why is that useful? Well, sometimes you need to include code to prevent an error, but you don’t want the code to do anything that might affect the rest of your program.
So, pass is commonly used as a piece of “placeholder” code. If code such as a loop, conditional, or function requires code indented beneath it, sometimes pass can be helpful to prevent an error. Once you add more code, you can delete the pass!
You may see pass when dragging in toolkit tools in the following categories:
loops
conditionals
functions
Remember, you can delete the pass command once there is more code indented.