sach+mat :D

pull/1/head
Dawid J. Kubis 5 years ago
parent 46850067c9
commit d94b23bf93

@ -0,0 +1,5 @@
def gp(n):
return [n[0]] + gp([i for i in n[1:] if i%n[0] != 0]) if n else []
print(gp(range(2, int(input('zadej cislo : ')))))
Loading…
Cancel
Save