Learn Before
Concept
slice()
The built in function can have 3 parameters:
- start - (optional, default = none) the starting integer where the object slicing starts
- stop - the integer until the slicing continues to (slicing stops at the index before the 'stop' integer)
- step - (optional, default = none) the integer representing the increment between each index for slicing

0
1
Updated 2021-06-13
Tags
Python Programming Language
Data Science