Me: > def imax(seq, f = lambda x: x): The name, btw, is wrong. It should be 'obj_with_max_value' 'maxobj' or somesuch, since 'imax' should return the maximum value of the iterator, which happens to be identical to what max does. The idea is the same. Andrew dalke at dalkescientific.com