Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion hangman.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def createGuessesLog(word):#This func makes a log which records
#the user's correct guesses
guessesLog=''

for i in range(len(word)):
for _ in range(len(word)):

guessesLog += '-'#makes it as long as the word
guessesLog = list(guessesLog)#Turns it into an array because it was a str
Expand Down