Skip to main content

A math expand package

Project description

math-expand Package

这个包是对Python原生的Math包进行的拓展,目前提供的方法如下:

  • digits
    • take_digits(number, return_type) → list/dict
      • 方法用途
        • 取一个数的每一位数
      • 方法解析
        • 参数解析
          • number
            • 要取每一位数的数
          • return_type
            • 指定返回值的类型
            • 默认为l,有l(返回列表),和d(返回字典)两种形式,其余值会导致输出一条错误信息。
        • 返回值
          • 由return_type参数决定
          • 返回值
            • list
              • 这个列表里包含了这个数从高到低每个数位的数字
            • dict
              • 这个字典的键是一个个计数单位,每个键对应的值便是当前键表示的计数单位上的值

使用 pip install mathexpand 命令安装它!

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

mathexpand-1.3.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

mathexpand-1.3.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file mathexpand-1.3.0.tar.gz.

File metadata

  • Download URL: mathexpand-1.3.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for mathexpand-1.3.0.tar.gz
Algorithm Hash digest
SHA256 d0bfc90bde4f7cd7492e02deef4f858513e8548c3dda4398f19ff04d29f62b63
MD5 8d1b935c2902e2a8b1e21a0076f2b4f2
BLAKE2b-256 b68039ac3b104d144c48cb86836754eac53998da88ab3ca15f2fed0fdae1ecf2

See more details on using hashes here.

File details

Details for the file mathexpand-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: mathexpand-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for mathexpand-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eeafd3998f7eeb236887cfce20cc560181a37c7f393545efdc55f46814857ceb
MD5 2a4afe1794212e843aadc59817d48bbb
BLAKE2b-256 ab562e5f801358171a1409e8222d5cd0dd2ec0cc2a3fc485985c04a953eb48b1

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