title: Selecting list item
body: <p>need help on this</p>
  <pre><code>Example to select first 5 items from the below list
  nums = [10, 20, 30, 40, 50, 60, 70, 80, 90]
  nums[:5]
  output = [10, 20, 30, 40, 50]
  </code></pre>
  <p>If I want my output like below.
  Expected output = [10,20,60,70,90]</p>
  <p>Please let me know how to achieve this.</p>
  <p>I am trying something like this
  nums[:1,5:6,8]
  nums[0,1,5,6,8]</p>