I currently have a text file consisting of scores and names of people who have used a quiz I have created.

> 
> Bob:8
> 
> 
> Lucy:5
> 
> 
> John:2
> 
> 
> Bob:6
> 
> 
> Chris:9
> 
> 
> Bob:7
> 
> 
> Lucy:4
> 
> 
> John:3
> 
> 
> John:4
> 
> 
> Bob:7
> 
> 
> 

In Python, I have became confused as to how you would print out the last three scores for each name in a list. Say, this should print Bob's scores of 7, 7 and 6 beside his name, as well as the last three scores of everyone else (and of course, if they have less than three scores, those will be printed).

I'm currently interpreting the file using a typical method (which probably is not appropriate for my intentions).

```
x = open('Scores.txt', 'r')

```