git clone https://github.com/ABOLFAZLMOHAMMADPOUR/PMathForPython.git
git clone https://gitlab.com/ABOLFAZLMOHAMMADPOUR/PMathForPython.git
Project
└─ Source
└─ PMath.py
└─ main.py
main.py
import PMath
PMath Is Contains Lots Of Functions Which You Can Doing Mathematics Operations With Them In Your Project.
main.py
import PMath
print(PMath.Calculating_Divisors(27))
print(PMath.Calculating_Divisors(-43))
Output
(1, 3, 9, 27)
(1, 43)
main.py
import PMath
print(PMath.Calculating_Multiples(27, From=1, To=5))
print(PMath.Calculating_Multiples(-43, 1, 8))
Output
(27, 54, 81, 108, 135)
(-43, -86, -129, -172, -215, -258, -301, -344)
main.py
import PMath
print(PMath.Calculating_GCD([-33, 39, 69]))
Output
3
main.py
import PMath
print(PMath.Calculating_LCM(1, 100, [33, 39, 69]))
print(PMath.Calculating_LCM(1, 1000, [33, 39, 69]))
Output
None
9867