загружаю ДЗ с исправлением
This commit is contained in:
parent
8451782617
commit
01d88ffc0f
Binary file not shown.
|
@ -126,7 +126,6 @@ def check_possible(field, row, col):
|
|||
|
||||
if ship_direction == 1:
|
||||
if field_size - col >= ship_size:
|
||||
if check_blocked(field, row, col):
|
||||
for i in range(col, col + ship_size):
|
||||
if check_blocked(field, row, col):
|
||||
return True
|
||||
|
|
Loading…
Reference in New Issue