title: Python For Loop Won't Run
body: <p>I'm trying to run a <code>for</code> loop inside of a <code>while</code> loop, but for some reason it's not being run at all. </p>
  
  <p>Here's the code:</p>
  
  <pre><code>with open("Nominees_18.csv") as nominees:
      reader = csv.reader(nominees)
      next(reader)
      for c, row in enumerate(reader):
          print(row[0], row[1], c)
      while True:
          name = input("chose a number")
          print(4)
          for c, row in enumerate(reader):
              print(4)
              if str(c) in name:
                  print(len([i for i in row if row[i] == "y"]))
          if input("chose another?") == ("no" or "No"):
              break
  </code></pre>
  
  <p>The script asks you for a number, then asks if you want to choose another number. I put <code>print(4)</code> to test the for loop and it doesn't come up. </p>
  
  <p>There's further code above this but I haven't included it as I don't think it's relevant, but if you want it, then let me know. </p>
  
  <p>I have no idea why this could be happening. </p>
  
  <p>Thanks.</p>