Put in order · Python course · Module 3: Object-Oriented Programming

Type Hint

Arrange the header of a speak method that returns text (type hint str):

Items to put in order

  • :
  • def speak(self)
  • ->
  • str

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