aboutsummaryrefslogtreecommitdiff
path: root/python/010-summation_of_primes.py
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2019-08-12 15:47:31 +0200
committerCharles <sircharlesaze@gmail.com>2019-08-12 15:47:31 +0200
commitbb515e51d67f37ba9c6dfbd2fd0930be873a5ada (patch)
treee86abea100d2c02a5dad7b6d5f0bf29c307bae04 /python/010-summation_of_primes.py
parent1879caa1dd80cb11dd62403663917ad4bf7cc68e (diff)
downloadproject_euler-bb515e51d67f37ba9c6dfbd2fd0930be873a5ada.tar.gz
project_euler-bb515e51d67f37ba9c6dfbd2fd0930be873a5ada.tar.bz2
project_euler-bb515e51d67f37ba9c6dfbd2fd0930be873a5ada.zip
haskell problems 007 -> 010
Diffstat (limited to 'python/010-summation_of_primes.py')
-rw-r--r--python/010-summation_of_primes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/010-summation_of_primes.py b/python/010-summation_of_primes.py
index e637c9c..0f296d2 100644
--- a/python/010-summation_of_primes.py
+++ b/python/010-summation_of_primes.py
@@ -2,7 +2,7 @@ from helper.prime import is_prime
prime_numbers = []
for num in range(2, 2_000_000):
- if is_prime(num, prime_numbers):
+ if is_prime(num):
prime_numbers.append(num)
num += 1