A math package of python 3. 🐍
Project description
xgqfrms_package_math
A math package of python 3. 🐍
This package includes math methods: add
ition, sub
traction, mul
tiplication and div
ision.
PyPI
https://pypi.org/user/xgqfrms/
https://pypi.org/project/math_package_xgqfrms/
GitHub
Project tree
# math_package_project
$ tree
.
├── LICENSE
├── README.md
├── pyproject.toml
├── src
│ └── math_package_xgqfrms
│ ├── __init__.py
│ └── math.py
└── tests
└── demo.py
Examples
- add
import math_package_xgqfrms as Math
n1 = 1
n2 = 2
sum = Math.add(n1, n2)
print("sum =", sum)
# sum = 3
- sub
import math_package_xgqfrms as Math
n1 = 3
n2 = 1
minus = Math.sub(n1, n2)
print("minus =", minus)
# minus = 2
- mul
import math_package_xgqfrms as Math
n1 = 2
n2 = 3
multi = Math.mul(n1, n2)
print("multi =", multi)
# multi = 6
- div
import math_package_xgqfrms as Math
n1 = 6
n2 = 2
divide = Math.div(n1, n2)
print("divide =", divide)
# div = 3.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for math_package_xgqfrms-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad30fc44453939b34b9b062684b9ead607ffad82e9c7e0c52efc83afb930a12f |
|
MD5 | c8a6c729f23cde0a2cf2bcc694abfd9b |
|
BLAKE2b-256 | 04ae3e40ac594cc96667fbf38f73e797764a23328a13263f3f7e101e8e95d006 |
Close
Hashes for math_package_xgqfrms-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e9720c57c44b1d45e1af7996467df3442cc04d8b8dcec1b56e1d4073d153ce0 |
|
MD5 | e2d37e88a50ec569f2afc5ae70b10e7a |
|
BLAKE2b-256 | de70b6058dcbcae846fcc6853e4bcad9e78915e726d0243866e26088ba87c177 |