Парыгина Дарья, 627 группа NonPrime 9395
doublem1nt84 NonPrime 9262
f1def nonprime(n=0):f1def nonprime(n=0):
n2    k = n + 1n2    now = n + 1
3    while True:3    while True:
t4        if k == 1:t4        if now == 1:
5            yield k5            yield now
6        else:
7            for i in range(2, round(k ** 0.5) + 1):6        for i in range(2, int(now ** 0.5) + 1):
8                if k % i == 0:7            if now % i == 0:
9                    yield k8                yield now
10                    break9                break
11        k += 110        now += 1
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op