Skip to main content

Default template for PDM package

Project description

power01_cmd

설치 방법

$ pip install power01_cmd

코드

import sys
from power01_plus.plus import plus
from power01_min.min import minus
from power01_mul.mul import mul
from power01_div.div import div


def call():
    a = int(sys.argv[1])
    b = int(sys.argv[2])
    print('a+b= ',end="")
    plus(a,b)
    print()
    print('a-b= ',end="")
    minus(a,b)
    print()
    print('a*b= ',end="")
    mul(a,b)
    print()
    print('a/b= ',end="")
    div(a,b)

    print('success!!')

실행

$ cmd 5 10 

결과

a+b= 15

a-b= -5

a*b= 50

a/b= 0.5
success!!

참조

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

power01_cmd-0.2.0.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

power01_cmd-0.2.0-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file power01_cmd-0.2.0.tar.gz.

File metadata

  • Download URL: power01_cmd-0.2.0.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.16.1 CPython/3.12.4 Linux/5.15.153.1-microsoft-standard-WSL2

File hashes

Hashes for power01_cmd-0.2.0.tar.gz
Algorithm Hash digest
SHA256 957ec68629694daf19b37f839c89b6dfdbd60d4bac27b6910a361ebd7fedeed1
MD5 bd6326e641d13dc1cfa60449dcf1863d
BLAKE2b-256 3f268f05607ef8c04eb69bf3fa3584a139d3ea868b88f4e71ec7d811481b10fa

See more details on using hashes here.

File details

Details for the file power01_cmd-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: power01_cmd-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.16.1 CPython/3.12.4 Linux/5.15.153.1-microsoft-standard-WSL2

File hashes

Hashes for power01_cmd-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3f9d593053bc1930e2a3f16e355d868e183da44cd1561db5ea54ae76646365dc
MD5 120a512867054948844c2240c538ff74
BLAKE2b-256 a50ad4543a967706ff03a44aaf988201ab98424e56f1ca8543ec7c4f3287a0c7

See more details on using hashes here.

Supported by

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