TP3 placer Mauvaise indentation return
This commit is contained in:
parent
28e5353f37
commit
2e3350dec0
|
@ -254,7 +254,7 @@ def placer(esp, nav):
|
||||||
if est_placable(esp, nav, pos, disp):
|
if est_placable(esp, nav, pos, disp):
|
||||||
for c in cases_du_navire(nav, pos, disp):
|
for c in cases_du_navire(nav, pos, disp):
|
||||||
esp[c] = nav[0]
|
esp[c] = nav[0]
|
||||||
return
|
return
|
||||||
|
|
||||||
# Test
|
# Test
|
||||||
# espTest2 = {'larg': 4, 'haut': 3}
|
# espTest2 = {'larg': 4, 'haut': 3}
|
||||||
|
|
Reference in a new issue