aboutsummaryrefslogtreecommitdiffstats
path: root/sumofprimes.py
diff options
context:
space:
mode:
Diffstat (limited to 'sumofprimes.py')
-rw-r--r--sumofprimes.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/sumofprimes.py b/sumofprimes.py
index e85e394..d0db224 100644
--- a/sumofprimes.py
+++ b/sumofprimes.py
@@ -2,23 +2,6 @@ import PIL
import math
# Problem 10 sum of primes
-###INEFFICIENT###
-# def isPrime(number):
-# if (number <=1):
-# return False
-# for i in range(2,number):
-# if(number%i==0):
-# return False
-# return True
-
-# def prime_factors(number):
-#primes = []
-# for i in range(number, 2, -1):
-# if(number%i==0):
-# if (isPrime(i)):
-# return i
-# return primes
-
def prime_factors(number):
primes = []