Lib - Itertools

 0    4 词汇卡    sir
下载mp3 打印 检查自己
 
问题 答案
Similar to range, but doesn't have an upper bound, and is not restricted to integers.
开始学习
count(f'start, f'step)
Repeats the values in another iterable over and over
开始学习
cycle(iterable)
Repeats a single item for set number of times.
开始学习
repeat(item, i'repeatitions)
Combines multiple iterables sequentially
开始学习
chain(iterable, iterable...)

您必须登录才能发表评论。