A very simple example module for basic arithmetic operations.
Project description
A Sample Simple Python Module
This package provides a very simple example module with basic arithmetic operations.
Installation
You can install the package locally:
git clone https://github.com/hongtaoh/htpymodule
pip install .
or through PyPI:
pip install htpymodule
Usage
from htpymodule import add, subtract, multiply, divide
print(add(1, 2)) # Output: 3
print(subtract(5, 3)) # Output: 2
print(multiply(4, 2)) # Output: 8
print(divide(10, 2)) # Output: 5.0
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
htpymodule-0.3.1.tar.gz
(1.6 kB
view hashes)
Built Distribution
Close
Hashes for htpymodule-0.3.1-py3-none-any.whl
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | 66a3332356e94551b722de46b3f91a83f345674c34853e683a087234b05e9121 |
|
| MD5 | fee0cfc492d05cdbd9ec63a36b7e6639 |
|
| BLAKE2b-256 | 66d7b7ba807a777da9fcacb743a6ea8e51ecd7d5ec94203117869ae7af76b8ff |