PASS DEMO: In this lesson you'll use toolkit tools with code that includes a pass statement. So what is pass?
pass is a Python command that literally does nothing! It is often used as placeholder code to prevent an error.
- Follow along with the demo to see how pass helps prevent an error. When can we remove pass?
- Find the pass indented in the function and delete it! Make sure that the other code stays indented.
- Click Run to see the program work. Click Submit and Next when you're ready to move on.