alex martelli typcyyjgmailcom wed apr 23 2008 1006 pm nicholas wrote time1901248 reducelambda b a1 a1b mathfloora1b time 60 60 24 28 70 00 220 secs mins hrs days wasnt posted cryptic one thing thats difficult write loop without lot verbosity least couldnt figure def dhms1t r 60 60 24 rappendt rappendt return r dhms11901248 28 7 0 22 vs import math def dhms2t return reducelambda b a1 a1b mathfloora1b 60 60 24 dhms21901248 28 70 00 220 sure consider advantageous get mixed list first item guaranteed int vs three guaranteed floats 0 fractional part simple approach gives list four ints seems much saner idea apart putting snippet string resp x dhms1 dhms2 see lenx 119 leny 117 119 vs 117 characters lot verbosity ok import lenresubrsx 67 lenresubrsy 97 conceptually simple approach way shorter count nonspace characters whitespace verbosity youre really keen minimize count characters suspect perl much closer tastes python god willing ever alex _______________________________________________ python3000 mailing list smsbmo9552pythonorg httpmailpythonorgmailmanlistinfopython3000 unsubscribe httpmailpythonorgmailmanoptionspython3000python300040tangomucom thu 07 aug 2008 172211 0700 python3000 use place reduce