using lists to return a list of common letters in two names using Python
<p>I'm need to use lists to find letters that are in both a first name and a last name. I'm not allowed to use sets. This is what I have so far, but I'm slightly stuck. I know that I need to somehow use the <code>in</code> operator to find out what characters are in the first and last name. And then add the common characters to the blank list <code>common</code>. But I need help with the syntax.</p>

<pre><code>def firstAndLast(first,last):
    common = []
    if first in last:
        print first


first = list(raw_input("Enter first name: "))
last = list(raw_input("Enter last name: "))

firstAndLast(first, last)
</code></pre>
