Skip to main content

Thư viện Python nhỏ gồm các hàm tính quãng đường và kiểm tra dấu của số

Project description

lib-su

Thư viện Python nhỏ gồm các hàm:

  • quang_duong(van_toc, thoi_gian): tính quãng đường = vận tốc × thời gian.
  • kiem_tra_so(so): kiểm tra một số là dương, âm hay bằng 0.

Cài đặt

pip install lib-su

Sử dụng

from lib_su import quang_duong, kiem_tra_so

print(quang_duong(60, 2))      # 120
print(kiem_tra_so(-5))         # "số đó là số âm"

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lib_su-0.1.0.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lib_su-0.1.0-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file lib_su-0.1.0.tar.gz.

File metadata

  • Download URL: lib_su-0.1.0.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.4

File hashes

Hashes for lib_su-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3d8f28205afcbbdfa0a257e6e7d2bd0e2d7498bf9379ca2628147b919cce9760
MD5 e080cc4a67834841e00e4b272fb8c25d
BLAKE2b-256 39d1d698cf1b6ad4e7cbb2b1856957c217968c1f0b38ff0f01877db18950e462

See more details on using hashes here.

File details

Details for the file lib_su-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: lib_su-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.4

File hashes

Hashes for lib_su-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4d7f610e4964766eb53feadf73ccb379f527bd8e1b99e7ccedeef13431c889b2
MD5 322554909d1aa34274b9e8c2be5fbbf4
BLAKE2b-256 afa3ca5e0bfd76047b6f94235b96f8742acec36eae2b8132e01b0fe61002eb26

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page