Thư viện Python cung cấp các hàm tính toán cơ bản và tính toán hình chữ nhật.
Các hàm
- cong(a, b): Tính tổng hai số.
- tru(a, b): Tính hiệu hai số.
- nhan(a, b): Tính tích hai số.
- chia(a, b): Tính thương hai số.
- chu_vi_hcn(dai, rong): Tính chu vi hình chữ nhật.
- dien_tich_hcn(dai, rong): Tính diện tích hình chữ nhật.
Ví dụ
from long_math import cong
ket_qua = cong(10, 20)
print(ket_qua)
Release files for long-math 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| long_math-1.0.0.tar.gz | 1.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| long_math-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.4 kB
Release files / long_math-1.0.0.tar.gz
| Download URL | long_math-1.0.0.tar.gz |
|---|---|
| Size | 1.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1048ab919e6722d31e14e495d2ae6ed62a51eda6b7da290a191f645b7f436843
|
|
BLAKE2b-256 checksum How to use checksums |
8f238ac7ad760bcf36abd0d18601fe9318de5462d63f52bf920cdb8f219d401e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / long_math-1.0.0-py3-none-any.whl
| Download URL | long_math-1.0.0-py3-none-any.whl |
|---|---|
| Size | 1.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
741dc8253a47058a21917be29d02b01abc96840931225826bdc508d4b0599b30
|
|
BLAKE2b-256 checksum How to use checksums |
c82df342e5d19b21a14780998b66d31c9ce50c537bf3d0cbce12a38552f39f49
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|