last¶ Syntax¶ last(list-expression) Parameters¶ list-expression An expression that evaluates to a list, including the name of a list variable. Description¶ Returns the value of the last item from the list parameter. It is an error if the list is empty. Examples¶ A_list = list(1,2,3) my_last_item = last(A_list) # my_last_item is now 3 See Also¶ length list (action) pop push