Pynlist Python module:
It is a module that allows simple and basic tasks related to lists to be performed in an efficient manner using built-in methods
Installation:
'''pip install pynlist'''
How to use:
1. emax and omax:
These methods take in a list and return a single value (The maximum even or odd number in the list respectively.)
x.emax(my_list)
print(x)
2. emin and omin:
These methods take in a list and return a single value (The minimum even or odd number in the list respectively.)
x.emin(my_list)
print(x)
3. esum and osum:
These methods take in a list and return a single value(The sum of all the even or odd numbers in the list respectively.)
x.esum(my_list)
print(x)
4. prime_search:
This method takes in a list and and returns the prime numbers(if any) in a list format.
x.prime_search(my_list)
print(x)
5. duplicate_search:
This method takes in a list and and returns the duplicates (numbers or strings,if any) in a list format.
x.duplicate_search(my_list)
print(x)
6. quick_list:
This method takes in two arguments and returns a list generated at random based off the given arguments.
x.quicklist(length=int,max_number=int)
print(x)
License:
Copyright (c) 2020 Subhodip Sinha Choudhury Read LICENSE for more details.
Release files for pynolist 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pynolist-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Release files / pynolist-0.0.1-py3-none-any.whl
| Download URL | pynolist-0.0.1-py3-none-any.whl |
|---|---|
| Size | 3.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
64697ae5fde45a9b5414c7c10325d0eb9175a950dce6981b318cfa229a21d30c
|
|
BLAKE2b-256 checksum How to use checksums |
a903da0a637e387b6aa9120497cde4aa430f58bc71078a148a3886945fb9e726
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.3
|