<div>Hi,<BR>I've read the posts on comparing 2 lists and couldn't find the answer to my question.</div>  <div>I have 2 lists</div>  <div>a = [4,3,2,6,7,9]<BR>b = [8,6,3,3,2,7]</div>  <div>How can I determine if the elements in a are larger or smaller than the elements in b.</div>  <div>&nbsp;</div>  <div>for i in a:<BR>&nbsp;&nbsp;&nbsp; for u in b:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; i &gt; u</div>  <div>does not return the result I seek.<BR><BR>In this example, 4 from a is compared to 8,6,3,3,2,7 then 3 from a is compared to all the elements in b.<BR>I'd like <BR>4 to 8, <BR>3 to 6, <BR>2 to 3 and so on; like 2 columns in excel, the third column would be a new list of boolean values.</div>  <div>Can someone help please?&nbsp; Thank you.</div><p>&#32;

      <hr size=1>Never miss a thing.  <a href="http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs"> Make Yahoo your homepage.</a>