Utkarsh S. answered 06/14/19
Math/Bio/Python Tutor. Well versed and practiced!
[start,finish,step]
Remember that indexing starts at 0 and the slice will stop one integer before the finish portion. The step part is optional.
a=[1,2,3,4,5,6,7,8]
a[2:5] will give you [3,4,5]
a[2:8:2] will give you [3,5,7]
a[::-1] will give you [8,7,6,5,4,3,2,1]