What is the purpose of the `pass` statement in Python?

Python Developer Easy

Python Developer — Easy

What is the purpose of the `pass` statement in Python?

Key points

  • `pass` is not used to skip loop iterations
  • It does not exit a function with no return value
  • `pass` does not pass arguments to another function

Ready to go further?

Related questions