title: Python program prints an extra empty line when reading a text file
body: <p>I'm using python 3.3. I have a text file with three lines of text, as an example. I want to select a number and it will display the contents of that line number. For some reason, it prints the line I want, and prints an empty line below it.</p>
  
  <p>The text file looks like this:</p>
  
  <pre><code>AAPL,Apple,700
  P,Pandora,32
  MW,Men's Warehouse,54.32
  </code></pre>
  
  <p>The output in the interpreter I get if i is 2:</p>
  
  <pre><code>&gt;&gt;
  P,Pandora,32
  
  &gt;&gt;
  </code></pre>
  
  <p>And the code is here:</p>
  
  <pre><code>line_number = int(input('Enter the line number: '))
  with open('C:/Python33/myprogramtests/filewrite1.txt') as f:
      i = 1
      for line in f:
          if i == line_number:
              break
          i += 1
      print (line)
  </code></pre>
  
  <p>I did try a comma after print (line) but it didn't work.
  I'm guessing I'm missing some bit of code that would print just the line and not an extra whitespace line. </p>