VarRandom/velvet_shell
VarRandom/s9160605122
nn1from itertools import cycle
1import random2import random
n2from itertools import cyclen
33
t4def randomes(sequence):t4def randomes(seq):
5    cyclable_generator = (list(x) for x in sequence)5    l = [tuple(t) for t in seq]
6    for i in cycle(cyclable_generator):6    for p in cycle(l):
7        yield random.randint(*i)7        yield random.randint(*p)
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op