title: Check the index of a number in a list in a dictionary
body: <p>i have this dictionary in witch each key contains a list of two numbers i want to access a number from the list by its index.</p>
  
  <p>example:</p>
  
  <pre><code>list1 = {'pos2': (80, 14), 'pos3': (120, 14), 'pos5': (200, 14), 'pos6': (240, 14)}
  </code></pre>
  
  <p>I have tried this solution and it kept giving me an key error</p>
  
  <pre><code>list1 = {'pos2': (80, 14), 'pos3': (120, 14), 'pos5': (200, 14), 'pos6': (240, 14)}
  
  print(list1["pos2"[0]])
  </code></pre>
  
  <p>Output</p>
  
  <pre><code>    print(posind['pos2'[0]])
  KeyError: 'p'
  </code></pre>
  
  <p>If you know any solution or can help me in any way please let me know.</p>