commit 20f39dd90ebc3e1c812b465793fee9b8e283f125
parent 4f10a074682967a4c4ff5d30912c689fea38524f
Author: therealFIGBERT <figbertwelner@gmail.com>
Date: Wed, 5 Feb 2020 22:59:07 -0800
:heavy_minus_sign: Remove time module import
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/problem012.py b/problem012.py
@@ -5,7 +5,6 @@
# dateCompleted = "05/02/2020"
from functools import reduce
from math import sqrt
-import time
def moreThanFiveHundredFactors(num):
factors = len(list(reduce(list.__add__, ([i, num//i] for i in range(1, int(sqrt(num)) + 1) if num % i == 0))))