<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Hi, I need help with the code below. I am trying to pair the list in the hint with the list of words. However, the list is not matching up correctly. Also when the correct guess is entered the program just continues without acknowledging the right answer. Please could y'all test this out and let me know where I am going wrong.&nbsp; I also want to add a scoring system where the computer rewards the person that guesses without getting a hint. Any suggestions as to how I might go about incorporating that into my code. Thanks for the help!<br><br>Peace,<br>Raj<br><br># Word Jumble V2<br># Computer jumbles a randomly selected word then asks the player to guess it<br># If player cant guess the word he can ask for a hint<br># Scoring system that rewards players for solving jumble without a hint (not
 included in this code)<br><br>import random<br><br>WORDS = ("sweep","difficult", "python", "america")<br>HINTS = ("remove dirt","not easy","computer language and a snake",<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "land of the free")<br><br>word = random.choice(WORDS)<br>correct = word<br>jumble = ""<br><br>while word:<br>&nbsp;&nbsp;&nbsp; position = random.randrange(len(word))<br>&nbsp;&nbsp;&nbsp; jumble += word[position]<br>&nbsp;&nbsp;&nbsp; word = word[:position] + word[(position+1):]<br>for word in WORDS:<br>&nbsp;&nbsp;&nbsp; HINTS[position] == WORDS[position]<br><br>print\<br>&nbsp;&nbsp;&nbsp; """<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Welcome to Word Jumble<br>Unscramble the letters to make a word<br>Remember Hints lower your score<br>(Press the enter key at the prompt to exit)<br>&nbsp;&nbsp;&nbsp; """<br>print "The jumble is: ",jumble<br>guess = raw_input("Guess the word: ")<br>guess = guess.lower()<br>tries = 1<br>while
 guess != word and word !="" and tries &lt;5:<br>&nbsp;&nbsp;&nbsp; print "Sorry! That's not it!"<br>&nbsp;&nbsp;&nbsp; guess = raw_input("Guess the word: ")<br>&nbsp;&nbsp;&nbsp; guess = guess.lower()<br>&nbsp;&nbsp;&nbsp; tries +=1<br>if guess == correct:<br>&nbsp;&nbsp;&nbsp; print "You're right, the word is", word<br>else:<br>&nbsp;&nbsp;&nbsp; print "Maybe you need a hint:"<br>&nbsp;&nbsp;&nbsp; print HINTS[position]<br>&nbsp;&nbsp;&nbsp; guess = raw_input("Guess the word: ")<br>&nbsp;&nbsp;&nbsp; guess = guess.lower()<br><br><br>raw_input("\n\nPress the enter key to exit:")<br><br></div></div><br>

      </body></html>