Back to Freecodecamp

Step 7

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

latest406 B
Original Source

--description--

Now, delete your spam call.

--hints--

You should not have gameboard.spam() in your code.

js
({ test: () => assert.isFalse(runPython(`_Node(_code).has_call("gameboard.spam()")`)) })

--seed--

--seed-contents--

py
--fcc-editable-region--
class Board:
    def spam(self):
        print('Spam!')
    
gameboard = Board()
gameboard.spam()
--fcc-editable-region--