comparing lists with lists
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/4334183/may-i-know-how-can-we-compare-lists">may i know how can we compare lists </a>  </p>
</blockquote>



<p>ok i m making a game poker card evaluator and i am storing its values in list of list and each list is containing the values like the [rate,rank,max] or just [1,2,3] so my question is if i want to know which players has good hand mean good list for example by comapring list to list, if rate1==rate2(list2 in the list of lists) then i have to check is their rank are also same if that condition also true then i have to go to next value in the same list and check with the other list having same first two values. if both lists are equal then we say they are equal else we find the greater one(rate,rank or max)</p>

<p>and this is for infinite list where i dont know what is the length of the list and its charcters</p>
