martin v löwis qpnyslvloewisde wed apr 23 2008 1040 pm martin v löwis wrote py time 60 time6060 time360024 time360024 28 7 0 22 3600 360024 trying avoid getting offtopic dont need answer still ask still shorter reduce version much much much legible readability counts like divmod solution also use reduce reducelambda b divmoda0 b a1 60 60 241 even knowing still easily understand think reduce produce growing value passing inhomogeneous list deep abuse case writing multiple lines good writing single line bad regards martin _______________________________________________ python3000 mailing list python3000pythonorg httpmailpythonorgmailmanlistinfopython3000 unsubscribe httpmailpythonorgmailmanoptionspython3000python300040tangomucom fri 08 aug 2008 024634 0200 python3000 use place reduce