Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3ab48f8

Browse files
authored
Merge pull request AllenDowney#1 from marked/cartalk1-patch-1
Update cartalk1.py
2 parents 59eab5c + 0dc0633 commit 3ab48f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/cartalk1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ def is_triple_double(word):
2828
return True
2929
i = i + 2
3030
else:
31+
i = i + 1 - 2*count
3132
count = 0
32-
i = i + 1
3333
return False
3434

3535

0 commit comments

Comments
 (0)