how to get the n next values of a generator in a list (python),list(next(it) for _ in range(n))