Back to Freecodecamp

Step 5

curriculum/challenges/english/blocks/learn-classes-and-objects-by-building-a-sudoku-solver/660699119472f332798860ad.md

latest501 B
Original Source

--description--

Now, replace pass with a print call and pass it the string 'Spam!'.

--hints--

You should delete pass and print the string 'Spam!' within the spam method.

js
({ test: () => assert(runPython(`_Node(_code).find_class("Board").find_function("spam").find_body().is_equivalent("print('Spam!')")`)) })

--seed--

--seed-contents--

py
--fcc-editable-region--
class Board:
    def spam(self):
        pass
    
gameboard = Board()
--fcc-editable-region--