title: Finding characters in a list python
body: <pre><code>def find_friend(filename, name):
      lists = open(filename, 'Ur')
      name1 = set(lists)
      for row in lists:
          if name in name1:
              print row
          else:
              print 'friend does not exist'
  </code></pre>
  
  <p>So my desired outcome is opening a list, searching for a character within that list
  and returning the character details. for eg. searching for <code>a</code> in <code>[(a,b,c,d),(e,f,g,h)]</code> would return <code>a,b,c,d</code>. So far it isn't returning anything.</p>