title: get specific index when using izip over list
body: <p>I want to iterate over a list and find the latest "consecutive value".</p>
  
  <p>What does that mean, well:</p>
  
  <p>If I have a list <code>priceValue = [423, 399, 390, 400, 430, 420, 423]</code>, my latest consecutive value will be the 2 last indexes: 420 to 423, index number: 5 and 6.</p>
  
  <p>I want to iterate and get the index at the <strong>right place</strong></p>
  
  <p>at this moment I use:</p>
  
  <pre><code>for x, y in itertools.izip(priceValue, priceValue[1:]):
  
      print x, y
      if y &gt; x:
          #print x, y
          print priceValue.index(y), priceValue.index(x)
  </code></pre>
  
  <p>But my problem is it will only print index "0" and "5" since the value 423 is found at index 0.</p>
  
  <p>How do i get the right index?</p>
  
  <p>NOTE: I can't tag "izip" in tags.</p>