LookSay/WhiteFox585
LookSay/Mik
n1import itertoolsn1from itertools import groupby
22
3def LookSay():3def LookSay():
n4    x = '1'n4    next_num = '1'
5    yield int(x)5    yield int(next_num)
6    while True:6    while True:
t7        x = ''.join((str(len(list(g))) + k for (k, g) in itertools.groupby(x)))t7        next_num = ''.join((str(len(list(g))) + k for (k, g) in groupby(next_num)))
8        for i in range(len(x)):8        for i in range(len(next_num)):
9            yield int(x[i])9            yield int(next_num[i])
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op