Question · Python course · Module 3: Object-Oriented Programming

The self Parameter

What does 'self' mean in a class method?

Answer options

  • A reference to the class itself
  • A keyword for creating methods
  • A reference to the current object instance
  • A global variable

You can check the correct answer by solving this task in the CodeWorlds game.