how to find the sum of items in a data set and order them python code example Example: python sum of list >>> list = [1, 2, 3] >>> sum(list) 6