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-minus 9 23
-14
$ mo-divide <정수 입력1> <정수입력2>
mo-minus 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.4.tar.gz
(1.7 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.4.tar.gz.
File metadata
- Download URL: mo_cmd-0.1.4.tar.gz
- Upload date:
- Size: 1.7 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 |
b00ca07e07e7e1356a4360e1bc05af27c9b3a062866b676adcec0a26acaaabaa
|
|
| MD5 |
4f0026f50e4ed2e40211f8fc81304e14
|
|
| BLAKE2b-256 |
fba8c2e8fca6faa2b2e87e58b7e6057663fde0d00b4e13d180b3b583fed68e4a
|
File details
Details for the file mo_cmd-0.1.4-py3-none-any.whl.
File metadata
- Download URL: mo_cmd-0.1.4-py3-none-any.whl
- Upload date:
- Size: 2.2 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 |
7ba9269122453bff6bcf91a639bff25d74e834d5cc41559ad217480b3ccc4a6e
|
|
| MD5 |
873873eadf608f2e69bb34391428a11e
|
|
| BLAKE2b-256 |
8b7577f902f654144a1279f1cb5988e91da6664177923c652be06cf49507f040
|