title: How to return to the top of a loop if the else statement is reached
body: <p>I hope the title is explanation enough. Basically, the user inputs a number and the number has to be between 1 and 147. If it is, the next required input is reached(num_guess). But we need to have the user try again if the number is not within the parameters. But I cannot figure out how to do this. Thanks in advance. </p>
  
  <pre><code>word_correct = False
  
  def length_check(x):
      while (word_correct == False):
          if x &gt;= 1 and x &lt;= 147:
              return word_correct == True
              break
          else:
              print("Try another number")
              # print(input("Please enter a word length: "))  ## ignore me
  
  word_length = input("Please enter a word length: ")
  length_check(word_length)
  
  num_guess = raw_input("Please enter an amount of guesses: ")
  </code></pre>