Welcome to the Treehouse Community
Looking to learn something new?
Don't know what I missed
I get "Bummer: Try again", but I don't know what I forgot to add.
class Board: def __init__(self, width, height): self.width = width self.height = height self.cells =  for y in range(self.height): for x in range(self.width): self.cells.append((x, y)) def __iter__(self): yield from self.cells class TicTacToe(Board): def __init__(self): super().__init__(width=3, height=3)
My code worked when I moved the iter method from the Board class to the TicTacToe class, even though the problem asked me to make the Board class iterable.
Sometimes treehouses coding platform glitches, just try refreshing the page and hit enter.
I tested my code and now it works. Not sure what happened before. Thanks for the help.