title: Type Int does not conform to protocol sequence
body: <p>I have the following code in Swift 3:</p>
  
  <pre><code>var numbers = [1,2,1]
  for number in numbers.count - 1 { // error
      if numbers[number]  &lt; numbers[number + 1] {
          print(number)
      }
  }
  </code></pre>
  
  <p>I am checking if the value on the index [number] is always higher than the value on the index [number + 1]. I am getting an error:</p>
  
  <blockquote>
    <p>Type Int does not conform to protocol sequence</p>
  </blockquote>
  
  <p>Any idea?</p>