I want the results of the function to be:
Not so brief, but shortcuts without messing around with 'tee' or anything like that.
def unanimous(s): s = iter(s) if s.next(): return all(s) else: return not any(s)