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 character == hamletArray[counter]:
|
||||
checkWord+=character
|
||||
|
||||
counter += 1
|
||||
|
||||
else:
|
||||
checkWord = ''
|
||||
counter = 0
|
||||
|
Loading…
Reference in New Issue
Block a user