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.0.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.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for flucutie-1.0.0.tar.gz
Algorithm Hash digest
SHA256 1a9ccefb78b7024c09459906176d4c88a9bb1f1d6a296f2116562bd24382df5b
MD5 b2b02ed72cdbcb37271db9bcf0cc0f8d
BLAKE2b-256 970928d9aca854f4ca10a263b6f9f4e271a26a86b45cc08b30c78401fddc31f0

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for flucutie-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8873e320b4952aa63f1e6da47e6f886c1fccf56e552a0c1d662da0d7e377ec7c
MD5 d21cb62d71806652a91945ab70a8c888
BLAKE2b-256 761ca38e860436c9ed099194ba1a55ab64b2b1b39cdc1531585a30ab44326395

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