Skip to content
Snippets Groups Projects
Commit bb797256 authored by KERAOUCHE Sara's avatar KERAOUCHE Sara
Browse files

question 11

parent 8db5a825
No related branches found
No related tags found
No related merge requests found
......@@ -54,3 +54,12 @@ class tabelettechocolat:
print (e)
def first_player_has_winnig_strategy(m,n):
if m== 1 and n == 1:
return false
for coup in interools.chain((i,0)fir i in rang (1,m)) , ( 0,j ) for j in rang(n,1))
if not first_player_has_winnig_strategy(new_m , new_n)
return true
return false
\ 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