Snake case function name
This commit is contained in:
parent
f32701fa2d
commit
b805ed04ba
4
0005.py
4
0005.py
@ -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):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user