We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69cde43 commit 42a80cdCopy full SHA for 42a80cd
maths/basic_maths.py
@@ -57,6 +57,8 @@ def number_of_divisors(n: int) -> int:
57
temp += 1
58
n = int(n / i)
59
div *= temp
60
+ if n > 1:
61
+ div *= 2
62
return div
63
64
0 commit comments