Skip to main content

Check if a number is positive, negative, or zero

Project description

PosNegLib

مكتبة بسيطة لتحديد ما إذا كان العدد موجب أو سالب أو صفر.

التثبيت

py -m pip install PosNegLib


الاستخدام من Python

from pos_neg import check_number

print(check_number(10)) # Positive
print(check_number(-3)) # Negative
print(check_number(0)) # Zero

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

positivenegative_library-0.1.1.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

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

positivenegative_library-0.1.1-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file positivenegative_library-0.1.1.tar.gz.

File metadata

File hashes

Hashes for positivenegative_library-0.1.1.tar.gz
Algorithm Hash digest
SHA256 317dcd87110048663ab6b7263178cc53e0de16669812df22fe3d8a5ce00e5660
MD5 d638210eaaccf01eb6efb95170fb94e9
BLAKE2b-256 9a22998d64aca7b31103017c776cfc0f7dec3c666b9f50286508eb547f65aa15

See more details on using hashes here.

File details

Details for the file positivenegative_library-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for positivenegative_library-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9401da972a6ec14c79477b3902494991fea7362f2911be211156a4096c9a50cd
MD5 d0ab033c3f4d6f1782147c5ccc6c6edc
BLAKE2b-256 4461ee1398d6e71796436e888470a197f8d04cb407ad63efa923b06142298022

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