title: How to print elements of particular index in list in python?
body: <p>Suppose I have list as <code>lists=[1,2,3,3,4,43]
  </code> 
  now i want to access 5 index element from the above list how can i do that?
  I Tried sorting the list </p>
  
  <pre><code>lists.sort()
  z=len(lists)
  lists.index(z-1)
  </code></pre>
  
  <p>on trying to get 5th item i.e 4 it says value not in list.
  how can I do that?</p>