Edited TaskAO1
This commit is contained in:
parent
1df0dee4da
commit
daba231b53
@ -18,9 +18,7 @@ def openFile(fileName,hamletArray = ['H','a', 'm', 'l', 'e', 't'], hamletFullWor
|
|||||||
if len(checkWord) < len(hamletFullWord):
|
if len(checkWord) < len(hamletFullWord):
|
||||||
if character == hamletArray[counter]:
|
if character == hamletArray[counter]:
|
||||||
checkWord+=character
|
checkWord+=character
|
||||||
|
|
||||||
counter += 1
|
counter += 1
|
||||||
|
|
||||||
else:
|
else:
|
||||||
checkWord = ''
|
checkWord = ''
|
||||||
counter = 0
|
counter = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user