title: How come I'm only getting "0" output?
body: <p>I'm attempting to search through a text file and determine how many lines, vowels, consonants and numerical values/characters are in the text file. My Vowels, consonants and numerical output values aren't calculating properly, so it seems. The lines output total is correctly calculated.</p>
  <pre><code>ein = input(&quot;Please enter file name: &quot;)
  vowels = set(&quot;AEIOUaeoiu&quot;)
  cons = set(&quot;BCDFGHJKLMNPQRSTVWXYZbcdfghjklmnpqrstvwvyz&quot;)
  num = set(&quot;1234567890&quot;)
  count = 0
  Vcount = 0
  Ccount = 0
  Ncount = 0
  with open(ein) as ein_handle:
      for line in ein_handle:
          count += 1
      for line in ein_handle:
          if line in vowels:
              Vcount += 1
          elif line in cons:
              Ccount += 1
          elif line in num:
              Ncount += 1
  print(&quot;the file has&quot;,count,&quot;lines.&quot;)
  print(&quot;the file has&quot;,Vcount,&quot;vowels.&quot;)
  print(&quot;the file has&quot;,Ccount,&quot;consonants.&quot;)
  print(&quot;the file has&quot;,Ncount,&quot;numerical characters.&quot;)
  </code></pre>