On Wed, 12 May 2004, C GIllespie wrote: CG> I have a few lists. What's the best way of finding the CG> maximum number of all CG> the lists. CG> CG> For example, CG> CG> [2,3,4],[1,2,3],[4,7] CG> CG> The max is 7. >>> lists = [2,3,4],[1,2,3],[4,7] >>> max([max(l) for l in lists]) 7 -- Denis S. Otkidach http://www.python.ru/ [ru]