Put in order · Python course · Module 3: Object-Oriented Programming
The @classmethod Decorator
Arrange the header of the class method from_dict (the line under the @classmethod decorator):
Items to put in order
- (cls, data)
- def
- from_dict
- :
You can check the correct answer by solving this task in the CodeWorlds game.