Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 62a8f45

Browse files
fix typo from pull request
1 parent 805d8b9 commit 62a8f45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎ch18/ticTacToeTests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ def mutate_move(genes):
200200
toMove = genes[start:stop]
201201
genes[start:stop] = []
202202
index = random.choice(range(len(genes)))
203-
if index >= start
203+
if index >= start:
204204
index += 1
205205
genes[index:index] = toMove
206206
return True

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /