In Python, how do you get the last element of a list?
Ok, but what about common in almost every language way items[len(items) - 1]? This is IMO the easiest way to get last element, because it does not require anything pythonic knowledge.
items[len(items) - 1]