diff --git a/Maths/BasicMaths.py b/Maths/BasicMaths.py index f05cde64d..6e8c919a0 100644 --- a/Maths/BasicMaths.py +++ b/Maths/BasicMaths.py @@ -62,9 +62,13 @@ def eulerPhi(n): s *= (x - 1)/x return s -print(primeFactors(100)) -print(numberOfDivisors(100)) -print(sumOfDivisors(100)) -print(eulerPhi(100)) +def main(): + print(primeFactors(100)) + print(numberOfDivisors(100)) + print(sumOfDivisors(100)) + print(eulerPhi(100)) + +if __name__ == '__main__': + main() \ No newline at end of file