title: In an Elixir list, how to get the middle value?
body: <p>I need get a middle value from the list.</p>
  
  <p>How to do it using <code>list[0]</code> or <code>list[3..-1]</code> in elixir?</p>
  
  <p>e.g:</p>
  
  <pre><code> list = [1,2,3,4,5,6]
   list[0] [1]
   list[2..-1] [3,4,5,6]
  </code></pre>
  
  <p>And how to do it using <code>Tuple</code>?</p>