Steven D'Aprano <steve at REMOVE.THIS.cybersource.com.au> writes: > (1) It's wrong. That always returns the length of the list. Perhaps you > meant something like this? > len(["anything will do" for t in x if y > t]) Yeah, that's what I meant.