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

@classmethod

By convention, what is the first parameter of a method marked with @classmethod called?

Answer options

  • self
  • cls
  • this
  • nothing

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