Match different forms of slicing with their descriptions.
Understanding different forms
Report a typo
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
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.