title: Kotlin for with different increment
body: <p>Kotlin has the follow for</p>
  
  <pre><code>for (i in 0..10) {}
  </code></pre>
  
  <p>it is similar to Java</p>
  
  <pre><code>for (int i = 0; i &lt; 10; i++) {}
  </code></pre>
  
  <p>but how change the increment in kotlin to get something like it in java:</p>
  
  <pre><code>for (int i = 0; i &lt; 10; i = i + 2) {}
  </code></pre>