pull/1/head
Dawid J. Kubis 5 years ago
parent acaf6e5da1
commit bf7d82392f

@ -3,3 +3,4 @@ def gp(n):
return [n[0]] + gp([i for i in n[1:] if i%n[0] != 0]) if n else [] # mnohem rychlejsi return [n[0]] + gp([i for i in n[1:] if i%n[0] != 0]) if n else [] # mnohem rychlejsi
print(gp(range(2, int(input('zadej cislo : '))))) print(gp(range(2, int(input('zadej cislo : ')))))
# touche

Loading…
Cancel
Save