"ruby-operator">&lt;</span> <span class="ruby-value">0</span>

  <span class="ruby-identifier">diags</span> = []
  <span class="ruby-keyword">for</span> <span class="ruby-identifier">i</span> <span class="ruby-keyword">in</span> <span class="ruby-value">0</span><span class="ruby-operator">..</span>(<span class="ruby-identifier">num</span> <span class="ruby-operator">-</span> <span class="ruby-value">1</span>) <span class="ruby-keyword">do</span>
    <span class="ruby-identifier">diags</span> <span class="ru