Lib - Itertools

 0    4 fiche    sir
Télécharger mP3 Imprimer jouer consultez
 
question réponse
Similar to range, but doesn't have an upper bound, and is not restricted to integers.
commencer à apprendre
count(f'start, f'step)
Repeats the values in another iterable over and over
commencer à apprendre
cycle(iterable)
Repeats a single item for set number of times.
commencer à apprendre
repeat(item, i'repeatitions)
Combines multiple iterables sequentially
commencer à apprendre
chain(iterable, iterable...)

Vous devez vous connecter pour poster un commentaire.