Test if one OR an other substring is in a string, in a DRY way
<p>I'm a newbie in python, and try to grab the 'spirit' of it.<br>
Simple question :<br>
I want to test if either <code>'a'</code> or <code>'b'</code> are in a string <code>'xxxxxbxxxxx'</code><br>
I obvisouly could do </p>

<pre><code>full_string = 'xxxxxbxxxxx'
if 'a' in full_string or 'b' in full_string :  
    print 'found'
</code></pre>

<p>but I feel there is a more simple way to do it "python style", without repeating <code>full_string</code> , what could be it ? </p>
