title: How to retrieve an element of a list of enumerated tuples by its enumeration?
body: <p>I have a list which looks as follows:</p>
  
  <pre><code>vertices = [(1,2),(3,4),(5,6),...]
  </code></pre>
  
  <p>And I enumerate it using "enumerate":</p>
  
  <pre><code>list(enumerate(vertices))
  </code></pre>
  
  <p>The list then looks as follows:</p>
  
  <pre><code>[(1,(1,2)),(2,(3,4)),(3,(5,6)),...]
  </code></pre>
  
  <p>I would like to know if this is the way in python to create a "map" and which is the best way to retrieve a vertex by providing the index. (e.g. providing 1 I would like to receive (1,2), providing 2 I would like to receive (3,4)...)</p>