wiki:python/itertools/takewhile