Read file line by line and print if it contains two different strings
<p>So I have a file called 'clears' and I want to see if a line contains two different strings that are in a list and if so to print those lines I cant get it to work.</p>

<pre><code>for pos in positions:
    for line in open('clears'):
        if pos[0] and pos[3] in line:
            print line
</code></pre>

<p>I also tried 
f</p>

<pre><code>or pos in positions:
        for line in open('clears'):
            if pos[0] in line and pos[3] in line:
                print line
</code></pre>

<p>Thats what I tried but I get a <code>TypeError: 'in &lt;string&gt;' requires string as left operand</code>
I can get it to print if there is only one condition but I am not sure how to do if there is two.</p>

<p>Thanks</p>
