Hello. I have some bugs in my Code I need help
import random Hangman=( """ ------ | | | | | | | | | ---------- """, """ ------- | | | 0 | | | | | | ---------- """, """ ------- | | | 0 | /--+ | | | | | ---------- """, """ ------- | | | 0 | /--+--\ | | | | | ---------- """, """ ------- | | | 0 | /--+--\ | | | | | | ---------- """, """ ------- | | | 0 | /--+--\ | | | / | | | ---------- """, """ ------- | | | 0 | /--+--\ | | | / \ | | ---------- """ )#actual picture MAX_WRONG = len(Hangman) - 1 #Change HangMan Pics Words=("DRONE","COMPUTER","TELEPHONE","COFFEE","LAPTOP","REMARKABLE","VR") #list of words word=random.choice(Words)#Randomly pick word/shuffling guess= "_"* len(word)#For the Dashes of left answers wrong= 0 #Counter used= []#Used words print("Welcome to Hangman. Good luck!") while wrong<MAX_WRONG and guess!=word: print(Hangman[wrong]) print("\nYou've used the following letters:\n", used) print("\nSo far, you have guessed:\t", guess) answer=input("put in your Guess:") answer= answer.upper() while answer in used: print("Letter", answer," already used ",) answer = input("Guess again:\t") answer = answer.upper() used.append(answer) if guess in word: print("Nice Job") new = "" # create a new so_far to include guess for i in range(len(word)): if guess == word[i]: new += guess else: new += guess[i] guess= new else: print("Nope") wrong+=1 if wrong == MAX_WRONG: print(Hangman[wrong]) print("I would tell you, that you've been hanged. \n\ But you're dead, so.......RIP?") else: print("\nYou guessed it!") print("\nThe word was", word) input("\n\nPress Enter key to exit") If I have the right word it does not work