if my file is

Jessie , 90, 90, 90, 90   

 Oliver Newsome, 43, 98, 100, 56   

 Mark, 43, 78, 88, 98   

I want it to show : {'Jessie': [90,90,90,90]}

What I'm having trouble with is seeing where I could slice the characters appropriatley so that despite different spacings in the file, the percentages can be put together in a slice. 

Here, is what I have written for the slicing:

```
    grades = {}
    for line in filename:
        name, percentage = line.split(",")
        name_end  = line.index(',')
        name = line[0:name_end]
        percentage = [name_end:]
        if percentage not in grades:
            grades[name] = []
        [name].append(percentage)

```

Appreciate any advice!