This module has methods like add, sub, mult, div, ascend, descend
Project description
Python
BY TEJAS.A
Elementary math module
Documentation
Python
Ascending order:
def ascend(a):
a.sort()
return a
Addition:
def add(a, b):
c = a + b
return c
Subtraction:
def sub(a, b):
c = a - b
return c
Multiplication:
def mult(a, b):
c = a * b
return c
Division:
def div(a, b):
c = a / b
return c
Descending order:
def descend(a):
a.sort(reverse=True)
return a
Reverse of a number:
def rev(a):
return a[::-1]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
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 tejask-0.0.1-py3-none-any.whl.
File metadata
- Download URL: tejask-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b70a0aa65c138a3cbd55969fadbd11f41dcaf2f5b03d20fc33b88477870a924
|
|
| MD5 |
b0b940e5b82513f78f6d89e2ae43aa9f
|
|
| BLAKE2b-256 |
ba53cb13c642f896bfa60a3139292bf5222a0623622244fc8aae0298063be68a
|