title: Python not entering in for
body: <p>Why the unique[1] is never accessed in the second for???
  unique is an array of strings.</p>
  
  <pre><code>import csv
  with open('file.csv', 'rb') as f:
          reader = csv.reader(f)
          for i in range(len(unique)):
           #   print unique[i]   #prints all the items in the array        
              for row in reader:
                  print unique[i] # always prints the first item unique[0]
                  if row[1]==unique[i]:        
                      print row[1], row[0] # prints only the unique[0] stuff
  </code></pre>
  
  <p>Thank you</p>