We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5f5ab48 + 5469759 commit 5d81474Copy full SHA for 5d81474
Maths/BasicMaths.py
@@ -62,9 +62,13 @@ def eulerPhi(n):
62
s *= (x - 1)/x
63
return s
64
65
-print(primeFactors(100))
66
-print(numberOfDivisors(100))
67
-print(sumOfDivisors(100))
68
-print(eulerPhi(100))
+def main():
+ print(primeFactors(100))
+ print(numberOfDivisors(100))
+ print(sumOfDivisors(100))
69
+ print(eulerPhi(100))
70
+
71
+if __name__ == '__main__':
72
+ main()
73
74
0 commit comments