Thu Vien Phep Tinh
Thu vien Python don gian ho tro 4 phep tinh co ban:
cong(a, b)- Cong hai sotru(a, b)- Tru hai sonhan(a, b)- Nhan hai sochia(a, b)- Chia hai so
Cai dat
pip install thu-vien-phep-tinh-ba-viet
Su dung
from pheptinh import cong, tru, nhan, chia
print(cong(10, 5))
print(tru(10, 5))
print(nhan(10, 5))
print(chia(10, 5))
Ket qua
15
5
50
2.0
Xu ly chia cho 0
try:
print(chia(10, 0))
except ValueError as e:
print(e)
Tac gia
Ba Viet
Phien ban
1.0.0
Release files for thu-vien-phep-tinh-ba-viet 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 | |
|---|---|---|---|
| thu_vien_phep_tinh_ba_viet-1.0.0.tar.gz | 1.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| thu_vien_phep_tinh_ba_viet-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.7 kB
Release files / thu_vien_phep_tinh_ba_viet-1.0.0.tar.gz
| Download URL | thu_vien_phep_tinh_ba_viet-1.0.0.tar.gz |
|---|---|
| Size | 1.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
261f84fbde0c534ffb68c861e815e16e1e338acd73052af028b6342489903d8a
|
|
BLAKE2b-256 checksum How to use checksums |
b3e84cb1d1be45600a3491596fca32efd366b3238f76a5012f4aec8951076f48
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.5
|
Release files / thu_vien_phep_tinh_ba_viet-1.0.0-py3-none-any.whl
| Download URL | thu_vien_phep_tinh_ba_viet-1.0.0-py3-none-any.whl |
|---|---|
| Size | 2.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1c2c887ee0a317ee48a68a01d19a28597fdea10c03d38f1c06556c1b25c6558d
|
|
BLAKE2b-256 checksum How to use checksums |
e0f46facd850423ae4a7bb6536d4f2a2a51865393b7544f86f1128ac02d6ee9f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.5
|