title: Get Value from list using foreach
body: <p>I am trying to get a value from a list using for each:</p>
  
  <pre><code>for Therepot, member in enumerate(pots[0]):
          TherePotValue = Therepot
  </code></pre>
  
  <p>pots[0] holds something like [4, 6, 2, 1, 8, 9]</p>
  
  <p>Edit</p>
  
  <hr>
  
  <p>To return the value i should point my variable TherePotValue to member and not the TherePot witch is the index. </p>
  
  <p>Running a test:</p>
  
  <p>TherePot = 0 , Member = 4 </p>
  
  <p>TherePot = 1 , Member = 6 </p>
  
  <p>TherePot = 2 , Member = 2 </p>
  
  <p>TherePot = 3 , Member = 1 </p>
  
  <p>TherePot = 4 , Member = 8 </p>
  
  <p>TherePot = 5 , Member = 9</p>