Update vic_bigdick_sito.py

pull/1/head
lesves 5 years ago committed by GitHub
parent 147f9cb64e
commit 46850067c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -6,3 +6,5 @@ from functools import reduce
def primes(n): def primes(n):
return reduce(lambda l, x: [y for y in l if y==x or y%x!=0], range(2, n), range(2, n)) return reduce(lambda l, x: [y for y in l if y==x or y%x!=0], range(2, n), range(2, n))
print(primes(int(input("Zadej cislo: "))))

Loading…
Cancel
Save