A slice of a list returns a new list - so we can slice from -1 to the end if we are going to want the element in a new list: >>> a_slice = a_list[-1:] >>> a_slice ['three'] This has the upside of not failing if the list is empty: More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.