Skip to content

Commit d333c8c

Browse files
authored
Update occurrences-after-bigram.py
1 parent 215322e commit d333c8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/occurrences-after-bigram.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ def findOcurrences(self, text, first, second):
3333
if c != ' ':
3434
third.append(c)
3535
continue
36-
result.append("".join(third))
3736
k -= len(second) + len(third) + 1
3837
i, j = 0, 0
38+
result.append("".join(third))
3939
third = []
4040
if third:
4141
result.append("".join(third))

0 commit comments

Comments
 (0)