Skip to content

Kukushaa/arrmovs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

arrmovs

arrmovs_logo

Python Module For Converting INT to Array

There is 18 modules, that can help you convert your INT num into Array (and on the contrary)

Enjoy


LINKS


Installation

So first of all install package on your PC/Enviroment

pip install arrmovs

If something went wrong, try to install it with:

pip3 install arrmovs

Main Modules

When you install package, let's create our array with your number

import arrmovs as arr

num = 1234
myArray = arr.IntToArr(num)

Convert your INT number into Array and sort it

myArray = arr.IntToArrSorted(num)

Reversed Version

myArray = arr.IntToArrSortedReverse(num)

Let's convert your Array in INT (If in your Array, first ellement is 0, it will be deleted)

import arrmovs as arr

myArr = [1, 2, 3, 4, 5]
num = arr.ArrToInt(myArr)

Random Generation Module

Let's generate random INT num and convert it into Array.
We need numbers from which will be starting creating and ending (fr/to).
If fr == 0, it will cause Errors and if to > fr, it wil cause Errors too.

import arrmovs as arr

myRandomArray = arr.IntToArrRandom(1, 5)

About

Python Module For Converting INT to Array

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages