title: how to include range for eg 'if numbers are between 1 to 5' in swift
body: <p>I need to code in swift for 'if numbers are between 1 to 5'</p>
  
  <p>I tried this but it's not working.</p>
  
  <pre><code>    if myPercent == (1 ... 5) {
          let numberGroup = 1
  </code></pre>
  
  <p>How do I fix this?  </p>