Sequence items

Report a typo

Given the sequence seq, match its elements with corresponding indexes.

Match the items from left and right columns
the next-to-last element
the last element
the second element
the first element
len(seq) - 1
-len(seq)
-len(seq) + 1
len(seq) - 2
___

Create a free account to access the full topic