LookSay/ansemenov
LookSay/abatueva
f1from itertools import groupbyf1from itertools import groupby
22
3def LookSay():3def LookSay():
n4    res = '1'n4    num = '1'
5    yield int(res)5    yield int(num)
6    while True:6    while True:
t7        res = ''.join((str(len(list(g))) + k for (kg) in groupby(str(res))))t7        num = ''.join((str(len(list(nums))) + n for (nnums) in groupby(num)))
8        for k in res:8        for ch in num:
9            yield int(k)9            yield int(ch)
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op