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