title: Python 3.4 How would I remove the extra line below TownName?
body: <p>How would I remove the line below TownName() when I execute it?</p>
  
  <pre><code>def TownName():
      file = open('towns.txt','r')
      towns = file.readlines()
      towns = random.choice(towns)
      print(towns)
      file.close()
  
  TownName()
  </code></pre>
  
  <p><a href="http://i.stack.imgur.com/SxIPx.jpg" rel="nofollow">Image Proof</a></p>