title: Alternative to Goto, Label in Python?
body: <p>I know I can't use Goto and I know Goto is not the answer. I've read similar questions, but I just can't figure out a way to solve my problem.</p>
  
  <p>So, I'm writing a program, in which you have to guess a number. This is an extract of the part I have problems:</p>
  
  <pre><code>x = random.randint(0,100)    
  
  #I want to put a label here
  
  y = int(raw_input("Guess the number between 1 and 100: "))
  
  if isinstance( y, int ):
      while y != x:
          if y &gt; x:
              y = int(raw_input("Wrong! Try a LOWER number: "))
          else:
              y = int(raw_input("Wrong! Try a HIGHER number "))
  else:
      print "Try using a integer number"
      #And Here I want to put a kind of "goto label"`
  </code></pre>
  
  <p>What would you do?</p>