I have a dictionary and two lists and would like to output another dictionary that contains the individual list as the title and sum of the list contents as the values however, I have no clue as to how I could do this.

```
results = {'Apple':'14.0', 'Banana':'12.0', 'Orange':'2.0', 'Pineapple':'9.0'}

ListA = ['Apple','Pineapple']
ListB = ['Banana','Orange']

```

Output:

```
dicttotal = {'ListA':'23.0', 'ListB':'14.0'}

```

Edit: I have decided to use pandas to work with the above data as I find that the simplicity of pandas is more suited for my level of understanding. Thanks for the help everyone!