A simple calculator package for basic math operations
Project description
Simple Calculator - Ramzy اليتيم
مكتبة بايثون بسيطة تحتوي على عمليات جمع، طرح، ضرب، وقسمة.
طريقة الاستخدام
from my_simple_calculator.calculator import add, subtract, multiply, divide
result_add = add(10, 5)
print(f"الجمع: {result_add}")
result_subtract = subtract(10, 5)
print(f"الطرح: {result_subtract}")
result_multiply = multiply(10, 5)
print(f"الضرب: {result_multiply}")
result_divide = divide(10, 5)
print(f"القسمة: {result_divide}")
try:
divide(10, 0)
except ValueError as e:
print(e)
التثبيت
لتثبيت الحزمة، استخدم الأمر التالي:
pip install simple-calculator-ramzy-elyatim
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file simple_calculator_ramzy_elyatim-0.1.0.tar.gz.
File metadata
- Download URL: simple_calculator_ramzy_elyatim-0.1.0.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0rc1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f2557bd998925ff9dd7abb721965559d3eee34b5222f557d611e29e9cd0b8c19
|
|
| MD5 |
df8ba7d7593038aae51a32d1050197aa
|
|
| BLAKE2b-256 |
f4e6040699f35dea117cf3144f8da7ced6f078123a24ba8fc01acdff0eb05419
|
File details
Details for the file simple_calculator_ramzy_elyatim-0.1.0-py3-none-any.whl.
File metadata
- Download URL: simple_calculator_ramzy_elyatim-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0rc1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18d4fc9dc205534d45e0a67ca0e383107f96b2aa04dc01451103b8833617da10
|
|
| MD5 |
8260055581eb93a075c26d5832846fdf
|
|
| BLAKE2b-256 |
3d8230256bff60187eff1c2ad962a6ce902be54e2418e7db93c1531d97707081
|