Click in order · Python course · Module 12: Final Project

Abstract method

Click the elements to build an abstract method decorator and definition:

Items to click

  • predict(self, data)
  • @abstractmethod
  • def
  • :

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