From 6c90e9ab09714140c18f9b6a402a923c9b3cc3e8 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Wed, 18 Mar 2020 17:02:11 +0000 Subject: [PATCH] Remove unused variables --- hangman.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hangman.py b/hangman.py index dd32897..d3b65b4 100644 --- a/hangman.py +++ b/hangman.py @@ -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