[Tutor] nested loops

Alan G alan.gauld at freenet.co.uk
Mon Aug 22 19:52:45 CEST 2005


> Is there any way more efficient for run a nested loop?
> 
> ------
> for a in list_a:
      if a in list_b: 
         break


Should help a bit,

Alan G.


More information about the Tutor mailing list