-1"></a>d = c[<span class="dv">3</span>:<span class="dv">6</span>];  <span class="co">// result: d == (c[3], c[4], c[5], c[6])</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<p>The range index <code>3:6</code> behaves semantically just like the multiple index <code>(3, 4, 5, 6)</code>. In terms of implementation, the sliced upper and/or lower bounded indices are faster and use less memory because they do not explicitly create a multiple