Тимофей Ратников 524 LookSay 4764
Антипова Алёна 425 гр. LookSay 4699
f1from itertools import groupbyf1from itertools import groupby
22
3def LookSay():3def LookSay():
n4    cur = '1'n4    s = '1'
5    while True:5    while True:
t6        for d in cur:t6        for c in s:
7            yield int(d)7            yield int(c)
8        cur = ''.join((str(len(list(g))) + k for kg in groupby(cur)))8        s = ''.join((str(len(list(count))) + num for numcount in group
 >by(s)))
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op