slyce
v1.0.1
Published
Simple package that allows you to slice an array into subarrays
Downloads
3
Readme
Slyce
A simple package that allows you to slice array into subarrays
Installation
Use the package manager pip to install foobar.
pip install slyce
Usage
import slyce from "slyce"
var array = ['1','2','3','4','5','6','7','8','9']
# returns '[(Array 3), (Array 3), (Array 3)]'
slyce(array, 3)
# returns '[(Array 4), (Array 4), (Array 1)]'
slyce(array, 4)