Nguyen_Viet_Anh
Thư viện toán học cơ bản được tạo bởi Viet Anh.
Cài đặt
pip install Nguyen_Viet_Anh
Các hàm có sẵn
Phép tính cơ bản
| Hàm | Mô tả | Ví dụ |
|---|---|---|
cong(a, b) |
Cộng hai số | cong(3, 4) → 7 |
tru(a, b) |
Trừ hai số | tru(10, 3) → 7 |
nhan(a, b) |
Nhân hai số | nhan(3, 4) → 12 |
chia(a, b) |
Chia hai số | chia(10, 2) → 5.0 |
Hình chữ nhật
| Hàm | Mô tả | Ví dụ |
|---|---|---|
chu_vi_HCN(dai, rong) |
Chu vi HCN | chu_vi_HCN(5, 3) → 16 |
dien_tich_HCN(dai, rong) |
Diện tích HCN | dien_tich_HCN(5, 3) → 15 |
Ví dụ sử dụng
from Nguyen_Viet_Anh import cong, tru, nhan, chia, chu_vi_HCN, dien_tich_HCN
# Phép tính cơ bản
print(cong(10, 5)) # 15
print(tru(10, 5)) # 5
print(nhan(10, 5)) # 50
print(chia(10, 5)) # 2.0
# Hình chữ nhật
print(chu_vi_HCN(8, 4)) # 24
print(dien_tich_HCN(8, 4)) # 32
Tác giả
Viet Anh — Thư viện toán học cho học sinh
Release files for Nguyen-Viet-Anh 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nguyen_viet_anh-0.1.1.tar.gz | 2.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nguyen_viet_anh-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.0 kB
Release files / nguyen_viet_anh-0.1.1.tar.gz
| Download URL | nguyen_viet_anh-0.1.1.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9d59be41c7240e7636b51587bce15a36eb87729a0e0e32dc00fe8b8398eb3bcb
|
|
BLAKE2b-256 checksum How to use checksums |
02f20b2b95c13ed4a1e8d50c1a76835b6e0cbd12d5a447701a91ba2bf6bf1bad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / nguyen_viet_anh-0.1.1-py3-none-any.whl
| Download URL | nguyen_viet_anh-0.1.1-py3-none-any.whl |
|---|---|
| Size | 2.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2dc57d43111a3e5d85b2ad35128dee6eceb2eee5dc1e0d4202a0e4f0f901c92a
|
|
BLAKE2b-256 checksum How to use checksums |
8f83c7ae6c84231123f3525bb87efa57c8011aecc055413e97685dca56f28801
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|