Lib - Itertools

 0    4 flashcards    sir
download mp3 print play test yourself
 
Question Answer
Similar to range, but doesn't have an upper bound, and is not restricted to integers.
start learning
count(f'start, f'step)
Repeats the values in another iterable over and over
start learning
cycle(iterable)
Repeats a single item for set number of times.
start learning
repeat(item, i'repeatitions)
Combines multiple iterables sequentially
start learning
chain(iterable, iterable...)

You must sign in to write a comment