A tiny package with basic math operations.
Project description
myfirstpro
myfirstpro is a minimal Python package that provides four basic math functions:
add(a, b)subtract(a, b)multiply(a, b)divide(a, b)(raisesZeroDivisionErroron division by zero)
Install: (not published on PyPI — use local install)
pip install ./myfirstpro
Example:
from myfirstpro import add, divide
print(add(2,3)) # 5
print(divide(10,2)) # 5.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
myfirstpro-0.1.0.tar.gz
(2.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file myfirstpro-0.1.0.tar.gz.
File metadata
- Download URL: myfirstpro-0.1.0.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f5b0b6fa6bc6a3c93230eac3b73d97eae9022c9e1f74c68fb2736478b173ba47
|
|
| MD5 |
db55ebb17495b9cb16290c22b25239f8
|
|
| BLAKE2b-256 |
cbe74ad4090bf0c09ea842eafbeef5ca01ee463621864b174ad5935a123faafe
|
File details
Details for the file myfirstpro-0.1.0-py3-none-any.whl.
File metadata
- Download URL: myfirstpro-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87b01c263fabbf3fd7e671cc734f1b9fbef56c73d2c17762b60664f7ad30f97d
|
|
| MD5 |
f81e2a85430f58d48e1690a5595c6416
|
|
| BLAKE2b-256 |
114e97fec1a345b151196f6302687d55b5cbb00b51e600ab77bad3d0311dac40
|