Snake case function name

This commit is contained in:
Linus Miller 2018-03-27 16:28:56 +02:00
parent f32701fa2d
commit b805ed04ba

View File

@ -1,7 +1,7 @@
from collections import Counter
from functools import reduce
def findPrimeFactors(n):
def find_prime_factors(n):
factors = []
i = 2
@ -21,7 +21,7 @@ def divisible(rng):
factors = None
for num in rng:
nums = findPrimeFactors(num)
nums = find_prime_factors(num)
count = Counter(nums)
if (factors == None):