Skip to main content

A simple library of useful functions for working with lists and numbers

Project description

1. toList;

input: number

output: list

Converts number into list

2. numLen;

input: number, token (optional)

output: number

token: *no token* (length of number without dot), before (length of number before dot), after (length of number after dot)

Checks the length of a number

3. toNum;

input: list

output: number

Converts list into a number

4. toWord;

input: list

output: string

Converts list into a string

5. delRepeat;

input: list

output: list

Delete duplicate numbers

6. same;

input: list, list

output: bool

Checks if lists are identical

7. flatten;

input: list

output: list Expands all lists into one

8. chunks;

input: list, number

output: list

Splits the list into chunks

9. is_sorted;

input: list

output: bool

Checks if the list is sorted

10. between;

input: number (1), number (2), number (3)

output: bool

Checks if the first number is between the other two

11. rotate;

input: list, number

output: list

Shifts each element of a list back by a number

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

flucutie-1.0.1.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

flucutie-1.0.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file flucutie-1.0.1.tar.gz.

File metadata

  • Download URL: flucutie-1.0.1.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.6

File hashes

Hashes for flucutie-1.0.1.tar.gz
Algorithm Hash digest
SHA256 96b015c4832ad7a93c5d9813e16aec2d7e260f93ada3cef16f8a80a724c84cb7
MD5 6b31c855d25489afef0ea902fd56ac5d
BLAKE2b-256 d74e491cf636e9eda5e04db5a988365324e7a88aa508741cfa494783fb708d44

See more details on using hashes here.

File details

Details for the file flucutie-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: flucutie-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.6

File hashes

Hashes for flucutie-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f5659bed4ee475f14acb3202eae0f309a52e34bf4248461f2dba24e342d6ea9f
MD5 bbfc8a49485f79f4624ffbe269ebb67d
BLAKE2b-256 45c027911140894dd57cb5566303e5afbcbf2fc6e4ffdc0c1f5dd3dcd1024c8e

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