PDM add, sub, div calculate package
Project description
설치
pip install mo_cmd
실행
$ mo-plus <정수 입력1> <정수입력2>
mo-plus 5 6
11
$ mo-minus <정수 입력1> <정수입력2>
mo-plus 9 23
-14
$ mo-divide <정수 입력1> <정수입력2>
mo-plus 10 4
2.5
코드
import sys
from mo_plus.plus import add
from mo_minus.minus import substract
from mo_divide.divide import divide
def plus():
a=int(sys.argv[1])
b=int(sys.argv[2])
print('',add(a,b))
def minus():
a=int(sys.argv[1])
b=int(sys.argv[2])
print('',substract(a,b))
def div():
a=int(sys.argv[1])
b=int(sys.argv[2])
print('',divide(a,b))
Dependencies
"mo-plus>=0.1.0",
"mo-minus>=0.1.0",
"mo-divide>=0.1.0",
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
mo_cmd-0.1.3.tar.gz
(1.6 kB
view details)
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 mo_cmd-0.1.3.tar.gz.
File metadata
- Download URL: mo_cmd-0.1.3.tar.gz
- Upload date:
- Size: 1.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.16.1 CPython/3.10.12 Linux/5.15.153.1-microsoft-standard-WSL2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf5e51d9edb530164fc7d9e2c1b35cdb5f381d6223b2def1502187dac2cd0418
|
|
| MD5 |
d6892db085da1b6f32d658fa8a9b35ec
|
|
| BLAKE2b-256 |
8b0f92222ab2f09ea74905c5bbd6fa6b3dcef554ba0696624a1e3053341bd309
|
File details
Details for the file mo_cmd-0.1.3-py3-none-any.whl.
File metadata
- Download URL: mo_cmd-0.1.3-py3-none-any.whl
- Upload date:
- Size: 2.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.16.1 CPython/3.10.12 Linux/5.15.153.1-microsoft-standard-WSL2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10e9bd5af5d6f3bd5d7b10a33ab031b3f072436beedec8baeeade93ba341a555
|
|
| MD5 |
22e5bf1ab47180c0e801944aa584185b
|
|
| BLAKE2b-256 |
a1208d874d5ccca465e5a7b1242d9aa510695db5f26e2a9a8670b2366917cb90
|