ParentFull threadcodygman·Oh cool, slices don't return index errors: >>> print sum(sorted([])[-2:]) 0View on HN