Skip to main content

TrongDuc_tinhtong

Thu vien Python don gian de tinh tong cac so.

Cai dat

pip install TrongDuc_tinhtong

Su dung

from TrongDuc_tinhtong import tinh_tong

print(tinh_tong(1, 2, 3))        # 6
print(tinh_tong([1, 2, 3]))      # 6
print(tinh_tong(1, [2, 3], 4))   # 10
print(tinh_tong())               # 0

Neu co gia tri khong phai so, ham se nem ra TypeError.

Giay phep

MIT

Release files for TrongDuc-tinhtong 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for TrongDuc-tinhtong 0.1.0
File Size Uploaded
trongduc_tinhtong-0.1.0.tar.gz 2.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for TrongDuc-tinhtong 0.1.0
File Interpreter ABI Platform
trongduc_tinhtong-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 4.3 kB

Release files / trongduc_tinhtong-0.1.0.tar.gz

Download URL trongduc_tinhtong-0.1.0.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
8b87961da6f790f438c6133d782ab65fcb5a95b83cc117e65a9673cb78d9edf2
BLAKE2b-256 checksum
How to use checksums
e53f46758743c4b0e1f698fb6e705c64decc6f941721373a7db09f29162bb66e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / trongduc_tinhtong-0.1.0-py3-none-any.whl

Download URL trongduc_tinhtong-0.1.0-py3-none-any.whl
Size 2.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
03f0f2592b8d6ec34b4fe499c864d2e46905238ea1e57834ce56072593d7a40a
BLAKE2b-256 checksum
How to use checksums
afa1e6a7571ee98fa289fdb32e84f041c82b1f2eb146f813a4927dbdfc840ba8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page