Python - How to extract the last x elements from a list
34381
How to get last items of a list in Python?
52400
How to remove the last character from a string?
41569
Extracting Unique values from a list
101729
What's the best way to get the last N elements of a Perl array?
61911
Recursive function to pretty-print the elements of a list
18469
Idiomatic way to unpack variable length list of maximum size n
110447
Find the last element of an array while using a foreach loop in PHP
145166
Picking out items from a python list which have specific indexes
115314
How do you efficiently return all of a List but one element?
6550
What's the best way to take a segment out of a text file?
141502
Take n random elements from a List?
128315
How to find all the positions of max value of a list efficiently?
20095
How to extract the n-th elements from a list of tuples?
45413
How can I get every nth item from a List?
35004
Getting the index of the returned max or min item using max()/min() on a list
147086
Extracting values
119528
List manipulation: Dropping first or last row or column of a matrix