Кибизов Кирилл 321 LookSay 4678
Sabua8 LookSay 4649
f1def LookSay():f1def LookSay():
n2    s = '1'n2    term = '1'
3    while True:3    while True:
n4        for c in s:n4        for ch in term:
5            yield int(c)5            yield int(ch)
6        next_s = ''6        next_term = ''
7        count = 17        count = 1
n8        for i in range(1, len(s)):n8        for i in range(1, len(term)):
9            if s[i] == s[i - 1]:9            if term[i] == term[i - 1]:
10                count += 110                count += 1
11            else:11            else:
n12                next_s += str(count) + s[i - 1]n12                next_term += str(count) + term[i - 1]
13                count = 113                count = 1
t14        next_s += str(count) + s[-1]t14        next_term += str(count) + term[-1]
15        s = next_s15        term = next_term
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op