title: Python Error: int object is not subscriptable
body: <p>I was currently messing around with two CSV files. Basically, my goal is to get the values from the third column of the CSV file, only if the first column matches the name, and if the second column matches the date (Will take all from a start date to an end date). I've been testing ways to do it, but I don't quite get my answer since I keep getting the same error.</p>
  
  <p>Here is my current attempt:</p>
  
  <pre><code>name = "Art"
  for line in all_words_csv:
      if(line[0] == name):
          for line in range(1900, 1908):
              print(line[2])
  </code></pre>
  
  <p>Currently in Python 3.5</p>
  
  <p>Thanks.</p>
  
  <p>Edit: I'm expecting this piece to show me all the values in column 3, but the numbers are too big to be true:</p>
  
  <pre><code>for line in all_words_csv:
  if(line[0] == name):
      for line[1] in range(1900, 1908):
          print(line[2])
  </code></pre>