martin v löwis qpnyslvloewisde time1901248 reducelambda b a1 a1b mathfloora1b time 60 60 24 28 70 00 220 secs mins hrs days recommend learning use good old forloop example cryptic also inefficient due calling function iteration normally frown posts time wont refrain loud hear hear clever code culturally positive trait python community differently language communities fact one reason love python alex wasnt posted cryptic one thing thats difficult write loop without lot verbosity least couldnt figure case wouldnt use loop py time1901248 py minutesseconds divmodtime 60 py hoursminutes divmodminutes 60 py dayshours divmodhours24 py secondsminuteshoursdays 28 7 0 22 absolutely want use loop variable list divisors write py time1901248 py div time py res py divisor 606024 div mod divmoddiv divisor resappendmod else resappenddiv py res 28 7 0 22 think shows lot verbosity please reconsider verbose absolutely want single expression id write py time 60 time6060 time360024 time360024 28 7 0 22 regards martin ps im sure using floating point operations _______________________________________________ python3000 mailing list smsbmo9552pythonorg httpmailpythonorgmailmanlistinfopython3000 unsubscribe httpmailpythonorgmailmanoptionspython3000python300040tangomucom fri 08 aug 2008 022352 0200 python3000 use place reduce