sach+mat :D
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…
Reference in New Issue