LookSay/mishustina_margarita
LookSay/dfrant
f1from itertools import groupbyf1from itertools import groupby
22
3def LookSay():3def LookSay():
t4    n = '1't4    st = '1'
5    while 1:5    while True:
6        for j in n:6        for s in st:
7            yield int(j)7            yield int(s)
8        n = ''.join((str(len(list(s))) + p for (p, s) in groupby(n)))8        st = ''.join((str(len(list(group))) + key for (key, group) in groupby(st)))
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op