Metadata-Version: 2.1
Name: mathexpand
Version: 1.2.3
Summary: A math expand package
Home-page: https://github.com/Code-Tutorials-in-Github/math-expand
Author: GavinCQTD
Author-email: gavingan2012@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.2
Description-Content-Type: text/markdown

# math-expand Package
## 这个包是对Python原生的Math包进行的拓展，但也会提供其他功能的拓展。目前提供的方法如下：

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

- traceback
    - traceback_print(file, line, module, lineread, bs, Error, Errorread, other)
        - 方法用途
            - 模拟traceback
        - 返回值
            - 无


