title: Python Programe that Jumbles Words Puzzle
body: <p>I'm new to python and I was just working on this application</p>
  
  <pre><code>import random
  
  # create a sequence of words to choose from
  WORDS = ("hello","goodbye","smile","evening","daytime")
  
  #
  
  # pick one word randomly from the sequence
  word = random.choice(WORDS)
  
  # create a variable to see if the guess is correct
  correct = word
  
  # create a jumbled version of the word
  jumble =""
  while word:
      position = random.randrange(len(word))
      jumble += word[position]
      word = word[:position] + word[(position + 1):]
  
  # start the game
  print( \
  """
          Welcome to the anagram quiz!
  
     Unscramble the letters to make a word.
  (Press the enter key at the prompt to quit.)
  """)
  print ("The jumble is:", jumble)
  
  guess = input("\nYour guess: ")
  guess = guess.lower()
  
  while (guess != correct) and (guess != ""):
      print ("Sorry, that's not it.")
      guess = input("Your guess: ")
      guess = guess.lower()
  
  if guess == correct:
      print ("That's it!  You guessed it!\n")
  
  print ("Thank you for playing.")
  
  input("\n\nPress the enter key to exit.")
  </code></pre>
  
  <p>Which as you can see jumbles up a word for the user to guess what the word is, I need to be able to to improve this so the user gets a hint if they are stuck and add a scoring system that rewards those who solve a jumble without asking for a hint.</p>
  
  <p>I've tried for hours and got no where, can you please help me add that functionality in.</p>
  
  <p>Thank you.</p>