Understanding different forms

Report a typo

Match different forms of slicing with their descriptions.

Match the items from left and right columns
sequence[start:]
sequence[:end]
sequence[::step]
sequence[:]
takes all elements with a given step
takes elements from start to end-1
takes elements from start to the last element
makes the full copy of the sequence
___

Create a free account to access the full topic