def getPointTotal(aList):
    totals = {0}
for i in aList:
    totals = {(p + t) for p in getPoints(i) for t in totals}
return sorted(list(totals))
how do you add values from a list separately if one variable has two possible outcomes