Slice array in Python

list[1:2]

Slice the list variable at index 1 and 2.

Negative slice

list[:1] + list[3:]

Remains after slicing the list variable at index 1 and 2.