Lib - Itertools

 0    4 speciālā zīme    sir
lejupielādēt mp3 Drukāt spēlēt pārbaudiet sevi
 
jautājums atbilde
Similar to range, but doesn't have an upper bound, and is not restricted to integers.
sākt mācīties
count(f'start, f'step)
Repeats the values in another iterable over and over
sākt mācīties
cycle(iterable)
Repeats a single item for set number of times.
sākt mācīties
repeat(item, i'repeatitions)
Combines multiple iterables sequentially
sākt mācīties
chain(iterable, iterable...)

Lai ievietotu komentāru, jums jāpiesakās.