Skip to content
Snippets Groups Projects
Commit b7ae98c6 authored by rachida0001's avatar rachida0001
Browse files

question 5

parent 792b2aee
No related branches found
No related tags found
No related merge requests found
......@@ -23,6 +23,9 @@ class TabletteChocolat:
return it.chain(its)
def est_possible(self, i, j):
return (i,j) in list(self.coups_possibles())
if __name__ == "__main__":
import doctest
doctest.testmod()
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment