Skip to content

Commit

Permalink
Merge pull request TheAlgorithms#455 from amitkp57/master
Browse files Browse the repository at this point in the history
Update Maths/BasicMaths.py
  • Loading branch information
harshildarji authored Oct 13, 2018
2 parents 5f5ab48 + 5469759 commit 5d81474
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Maths/BasicMaths.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()


0 comments on commit 5d81474

Please sign in to comment.