itertools.count(start=0, step=1) - бесконечная арифметическая прогрессия с первым членом start и шагом step. itertools.cycle(iterable) - ...
確定! 回上一頁