title: Creating exclusive ranges in kotlin
body: <p>I am just starting with <code>Kotlin</code>. I want to create range from <code>1</code> to <code>n</code> where <code>n</code> is <code>excluded</code>. I found out that <code>Kotlin</code> has ranges and I can use them as follows</p>
  
  <p><code>1..n</code></p>
  
  <p>but this is an <code>inclusive</code> range which includes <code>1</code> and <code>n</code>. How do I create <code>exclusive</code> ranges.</p>