title: lower case from a text file
body: <p>I Have a file and am trying to convert words in lower case. This is what I have so far</p>
  
  <pre><code>with open('example.txt', 'r') as fileinput:
     for line in fileinput:
         lines = fileinput.lower()
  
  AttributeError: 'file' object has no attribute 'lower'
  </code></pre>