Taking the total number of lines from a file reading process
<pre><code>fileinput = open('tweets.txt', 'r')

for line in fileinput:

   lines = line.lower() 
</code></pre>

<p>from this how can I take the whole lines and not only the last?</p>
