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

__eq__

The __eq__ method is called when:

Answer options

  • Adding objects
  • Comparing objects with the == operator
  • Multiplying objects
  • Copying objects

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