s02220725 LookSay 4716
Антипова Алёна 425 гр. LookSay 4699
f1from itertools import groupbyf1from itertools import groupby
22
3def LookSay():3def LookSay():
n4    num = '1'n4    s = '1'
5    while True:5    while True:
t6        for digit in num:t6        for c in s:
7            yield int(digit)7            yield int(c)
8        num = ''.join((str(len(list(g))) + k for kg in groupby(num)))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