Python Object-Oriented Python Dice Roller Boards

Damien Blasko
Damien Blasko
8,517 Points

Aside from making and __iter__ for the cells attribute, I'm not sure how to approach this problem.

Do I have to do something with the other attributes? Can they all be made iterable with iter methods?

1 Answer

Steven Parker
Steven Parker
202,109 Points

You're exactly right, for task 2 you will create an "__iter__" method for the cells. You do not need to be concerned with any other attributes.