how to get the n next values of a generator in a list (python),"list(itertools.islice(it, 0, n, 1))"